f6d6b6 bash scripts: fix redundant exit code check

Authored and Committed by liutgnu 3 years ago
    bash scripts: fix redundant exit code check
    
    upstream: fedora
    resolves: bz2003832
    conflict: none
    
    commit a4648fc851be56d141fd43c8ade1a61c4069f47e
    Author: Kairui Song <kasong@redhat.com>
    Date:   Wed Sep 8 17:23:16 2021 +0800
    
        bash scripts: fix redundant exit code check
    
        As suggested by:
        https://github.com/koalaman/shellcheck/wiki/SC2181
    
        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
+14 -27
file modified
+36 -76
file modified
+11 -29