9abf44 dracut-module-setup.sh: make iscsi check fail early if cd failed

Authored and Committed by liutgnu 3 years ago
    dracut-module-setup.sh: make iscsi check fail early if cd failed
    
    upstream: fedora
    resolves: bz2003832
    conflict: none
    
    commit 67e559a6b905b8f06a0929b7d7c86130fbe30638
    Author: Kairui Song <kasong@redhat.com>
    Date:   Wed Aug 4 16:29:55 2021 +0800
    
        dracut-module-setup.sh: make iscsi check fail early if cd failed
    
        As suggested by:
        https://github.com/koalaman/shellcheck/wiki/SC2164
    
        Signed-off-by: Kairui Song <kasong@redhat.com>
        Acked-by: Philipp Rudo <prudo@redhat.com>
    
    Signed-off-by: Tao Liu <ltao@redhat.com>
    
        
file modified
+1 -1