diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-07-27 19:58:23 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-07-27 19:58:23 +0000 |
commit | aac31a343f55c0b40b7d46ba453201fff3430acb (patch) | |
tree | c9e35ef76fc2f3130e116a9a06142b8866aace6b /scripts | |
parent | 270cd7304dd379ee490df57120d281641c292398 (diff) | |
download | sg3_utils-aac31a343f55c0b40b7d46ba453201fff3430acb.tar.gz |
rescan-scsi-bus.sh: fix handling of '-I <secs>' option ; sg_inq+sg_vpd: more JSON work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@962 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rescan-scsi-bus.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rescan-scsi-bus.sh b/scripts/rescan-scsi-bus.sh index f7e363e8..0c333846 100755 --- a/scripts/rescan-scsi-bus.sh +++ b/scripts/rescan-scsi-bus.sh @@ -1229,7 +1229,7 @@ while [ ! -z "$opt" ] && [ -z "${opt##-*}" ] ; do d) debug=1 ;; f) flush=1 ;; i) lipreset=0 ;; - I) shift; lipreset=$opt ;; + I) shift; lipreset=$1 ;; l) lunsearch=$(seq -s ' ' 0 7) ;; L) lunsearch=$(seq -s ' ' 0 "$2"); shift ;; m) mp_enable=1 ;; |