Fix grammar error in rescan-scsi-bus.sh
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
This commit is contained in:
parent
43420af480
commit
6080c95e41
@ -38,7 +38,7 @@ index b1cbebc..25a5f2a 100755
|
|||||||
printf "\r\e[A";
|
printf "\r\e[A";
|
||||||
# Optimization: if lun==0, stop here (only if in non-remove mode)
|
# Optimization: if lun==0, stop here (only if in non-remove mode)
|
||||||
- if [ "$lun" = 0 ] && [ -z "$remove" ] && [ "$optscan" = 1 ] ; then
|
- if [ "$lun" = 0 ] && [ -z "$remove" ] && [ "$optscan" = 1 ] ; then
|
||||||
+ if [ "x$lun" = x0 ] && [ -z "$remove" ] && [ "x$optscan" = x1 ] ; then
|
+ if [ x"$lun" = x0 ] && [ -z "$remove" ] && [ "x$optscan" = x1 ] ; then
|
||||||
return 1;
|
return 1;
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: sg3_utils
|
Name: sg3_utils
|
||||||
Version: 1.46
|
Version: 1.46
|
||||||
Release: 3
|
Release: 4
|
||||||
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
|
||||||
@ -76,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 17 2022 Wenchao Hao <haowenchao@huawei.com> -1.46-4
|
||||||
|
- Fix grammar error in rescan-scsi-bus.sh
|
||||||
|
|
||||||
* Tue Feb 15 2022 Wenchao Hao <haowenchao@huawei.com> -1.46-3
|
* Tue Feb 15 2022 Wenchao Hao <haowenchao@huawei.com> -1.46-3
|
||||||
- Fix rescan-scsi-bus.sh -r remove valid disks
|
- Fix rescan-scsi-bus.sh -r remove valid disks
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user