From aac31a343f55c0b40b7d46ba453201fff3430acb Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Wed, 27 Jul 2022 19:58:23 +0000 Subject: rescan-scsi-bus.sh: fix handling of '-I ' 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 --- scripts/rescan-scsi-bus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 ;; -- cgit v1.2.3