File 0007-rescan-scsi-bus.sh-Fixup-syntax-error.patch of Package sg3_utils.1568

From 1894ecadb13355e0159a2c26db3f58ceb6b947a5 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Wed, 25 Nov 2015 15:29:38 +0100
Subject: rescan-scsi-bus.sh: Fixup syntax error

'[-x' is not a valid shell-script syntax.

References: bsc#955222

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 scripts/rescan-scsi-bus.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/rescan-scsi-bus.sh b/scripts/rescan-scsi-bus.sh
index ae677ef..1593a24 100755
--- a/scripts/rescan-scsi-bus.sh
+++ b/scripts/rescan-scsi-bus.sh
@@ -1186,7 +1186,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
-- 
1.8.4.5

openSUSE Build Service is sponsored by