bash scripts: declare and assign separately
upstream: fedora
resolves: bz2003832
conflict: none
commit 4f75e16700874b2e934fb3b9b85522cf7f36bd04
Author: Kairui Song <kasong@redhat.com>
Date: Wed Aug 18 02:04:45 2021 +0800
bash scripts: declare and assign separately
Declare and assign separately to avoid masking return values:
https://github.com/koalaman/shellcheck/wiki/SC2155
Signed-off-by: Kairui Song <kasong@redhat.com>
Acked-by: Philipp Rudo <prudo@redhat.com>
Signed-off-by: Tao Liu <ltao@redhat.com>