summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/add-brick/post/disabled-quota-root-xattr-heal.sh
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2017-10-11 13:29:13 +0530
committerJeff Darcy <jeff@pl.atyp.us>2017-10-18 14:27:41 +0000
commit087703fae449b725ebd82bc3cd65763a016fb098 (patch)
tree34ba22f3c5547b0b6e8a29a6b10c719639ebd005 /extras/hook-scripts/add-brick/post/disabled-quota-root-xattr-heal.sh
parentf0650fef60ca557ea1c60458f705ac9b52854b39 (diff)
extras/hooks: Fix errors reported via shellcheck utility
Change-Id: I217c6b2a39955f1709bb3452b00d33c2dcb60faa BUG: 1500649 Signed-off-by: Anoop C S <anoopcs@redhat.com>
Diffstat (limited to 'extras/hook-scripts/add-brick/post/disabled-quota-root-xattr-heal.sh')
-rwxr-xr-xextras/hook-scripts/add-brick/post/disabled-quota-root-xattr-heal.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hook-scripts/add-brick/post/disabled-quota-root-xattr-heal.sh b/extras/hook-scripts/add-brick/post/disabled-quota-root-xattr-heal.sh
index ee3ad341e16..1b9237cac01 100755
--- a/extras/hook-scripts/add-brick/post/disabled-quota-root-xattr-heal.sh
+++ b/extras/hook-scripts/add-brick/post/disabled-quota-root-xattr-heal.sh
@@ -74,7 +74,7 @@ get_and_set_xattr ()
##------------------------------------------
## Parse the arguments
##------------------------------------------
-ARGS=$(getopt -l $OPTSPEC -name $PROGNAME $@)
+ARGS=$(getopt -l $OPTSPEC -name $PROGNAME "$@")
eval set -- "$ARGS"
while true;