!36 Fix grammar error in rescan-scsi-bus.sh
From: @wenchao-hao Reviewed-by: @wubo009 Signed-off-by: @wubo009
This commit is contained in:
commit
f92d355614
@ -38,7 +38,7 @@ index b1cbebc..25a5f2a 100755
|
||||
printf "\r\e[A";
|
||||
# Optimization: if lun==0, stop here (only if in non-remove mode)
|
||||
- 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;
|
||||
fi
|
||||
else
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: sg3_utils
|
||||
Version: 1.46
|
||||
Release: 3
|
||||
Release: 4
|
||||
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
|
||||
@ -76,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%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
|
||||
- Fix rescan-scsi-bus.sh -r remove valid disks
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user