fix rescan-scsi-bus.sh syntax error
This commit is contained in:
parent
1117c8827d
commit
a142f0adcd
@ -29,7 +29,7 @@ index b1cbebc..25a5f2a 100755
|
|||||||
[ $RC = 2 ] && [ "$RMB" = "1" ] && break
|
[ $RC = 2 ] && [ "$RMB" = "1" ] && break
|
||||||
done
|
done
|
||||||
- if [ $ctr != 0 ] ; then
|
- if [ $ctr != 0 ] ; then
|
||||||
+ if [ $xctr != x0 ] ; then
|
+ if [ "$ctr" != 0 ] ; then
|
||||||
white_out
|
white_out
|
||||||
fi
|
fi
|
||||||
# echo -e "\e[A\e[A\e[A${yellow}Test existence of $SGDEV = $RC ${norm} \n\n\n"
|
# echo -e "\e[A\e[A\e[A${yellow}Test existence of $SGDEV = $RC ${norm} \n\n\n"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: sg3_utils
|
Name: sg3_utils
|
||||||
Version: 1.45
|
Version: 1.45
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: Utilities that send SCSI commands to devices.
|
Summary: Utilities that send SCSI commands to devices.
|
||||||
License: GPL-2.0-or-later AND BSD
|
License: GPL-2.0-or-later AND BSD
|
||||||
URL: http://sg.danny.cz/sg/sg3_utils.html
|
URL: http://sg.danny.cz/sg/sg3_utils.html
|
||||||
@ -79,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 29 2023 wuguanghao <wuguanghao3@huawei.com> - 1.45-11
|
||||||
|
- fix rescan-scsi-bus.sh syntax error
|
||||||
|
|
||||||
* Fri Nov 4 2022 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.45-10
|
* Fri Nov 4 2022 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.45-10
|
||||||
- backport speed multipath scan patches from mainline
|
- backport speed multipath scan patches from mainline
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user