Blame SOURCES/0001-Fix-syntax-error-in-if-statement-related-to-mpath-fl.patch

a6e0dd
From e946e403b434d27c88dc7819fb3589419cdfd954 Mon Sep 17 00:00:00 2001
a6e0dd
From: David Sommerseth <davids@redhat.com>
a6e0dd
Date: Fri, 22 Apr 2016 18:58:08 +0200
a6e0dd
Subject: [PATCH] Fix syntax error in if-statement related to mpath flush
a6e0dd
 operation
a6e0dd
a6e0dd
Without this patch, the error "[-x: command not found" would be seen
a6e0dd
when running 'rescan-scsi-bus.sh -f' on a system with multipath support
a6e0dd
packages installed.
a6e0dd
---
a6e0dd
 scripts/rescan-scsi-bus.sh | 2 +-
a6e0dd
 1 file changed, 1 insertion(+), 1 deletion(-)
a6e0dd
a6e0dd
diff --git a/scripts/rescan-scsi-bus.sh b/scripts/rescan-scsi-bus.sh
a6e0dd
index 4468cd3..caa031f 100644
a6e0dd
--- a/scripts/rescan-scsi-bus.sh
a6e0dd
+++ b/scripts/rescan-scsi-bus.sh
a6e0dd
@@ -1090,7 +1090,7 @@ declare -i updated=0
a6e0dd
 declare -i rmvd=0
a6e0dd
 
a6e0dd
 if [ -n "$flush" ] ; then
a6e0dd
-  if [-x $MULTIPATH ] ; then
a6e0dd
+  if [ -x $MULTIPATH ] ; then
a6e0dd
     flushmpaths 1
a6e0dd
   fi
a6e0dd
 fi
a6e0dd
-- 
a6e0dd
1.8.3.1
a6e0dd