summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hook-scripts/stop/pre/S29CTDB-teardown.sh')
-rwxr-xr-xextras/hook-scripts/stop/pre/S29CTDB-teardown.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh b/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
index 5fb49bd9e97..e9116c8cfdb 100755
--- a/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
+++ b/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
@@ -12,7 +12,7 @@ VOL=
META="all"
function parse_args () {
- ARGS=$(getopt -l $OPTSPEC -name $PROGNAME $@)
+ ARGS=$(getopt -l $OPTSPEC -name $PROGNAME "$@")
eval set -- "$ARGS"
while true; do
@@ -51,7 +51,7 @@ function remove_fstab_entry () {
fi
}
-parse_args $@
+parse_args "$@"
if [ "$META" = "$VOL" ]
then
umount "$CTDB_MNT"