Fix syntax error when -f (flush failed multipath devices) used in command line. OBS-URL: https://build.opensuse.org/request/show/344712 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=55
14 lines
350 B
Diff
14 lines
350 B
Diff
Index: scripts/rescan-scsi-bus.sh
|
|
===================================================================
|
|
--- scripts/rescan-scsi-bus.sh.orig
|
|
+++ scripts/rescan-scsi-bus.sh
|
|
@@ -1183,7 +1183,7 @@ declare -i updated=0
|
|
declare -i rmvd=0
|
|
|
|
if [ -n "$flush" ] ; then
|
|
- if [-x $MULTIPATH ] ; then
|
|
+ if [ -x $MULTIPATH ] ; then
|
|
flushmpaths 1
|
|
fi
|
|
fi
|