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>