diff --git a/0002-bugfix-sg3_utils-fix-syntax-error.patch b/0002-bugfix-sg3_utils-fix-syntax-error.patch index cd75db43395d606b5091bd51ae4c50d9b7d2f68c..8ebf1704dec371bd29fef48b4138911c46ab0906 100644 --- a/0002-bugfix-sg3_utils-fix-syntax-error.patch +++ b/0002-bugfix-sg3_utils-fix-syntax-error.patch @@ -29,7 +29,7 @@ index b1cbebc..25a5f2a 100755 [ $RC = 2 ] && [ "$RMB" = "1" ] && break done - if [ $ctr != 0 ] ; then -+ if [ $xctr != x0 ] ; then ++ if [ "$ctr" != 0 ] ; then white_out fi # echo -e "\e[A\e[A\e[A${yellow}Test existence of $SGDEV = $RC ${norm} \n\n\n" diff --git a/sg3_utils.spec b/sg3_utils.spec index 0c6a1614d9c2c4dcde01e4b12336c2e051c529b2..a80599ada2026db7d0db0d03b4deb03691370214 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -1,6 +1,6 @@ Name: sg3_utils Version: 1.45 -Release: 10 +Release: 11 Summary: Utilities that send SCSI commands to devices. License: GPL-2.0-or-later AND BSD URL: http://sg.danny.cz/sg/sg3_utils.html @@ -79,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la %{_mandir}/man8/* %changelog +* Wed Nov 29 2023 wuguanghao - 1.45-11 +- fix rescan-scsi-bus.sh syntax error + * Fri Nov 4 2022 Zhiqiang Liu - 1.45-10 - backport speed multipath scan patches from mainline