summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 5427b5b..d0db9a7 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -115,7 +115,7 @@ cleanup() {
# As what are we called?
NAME="`basename $0`"
# The original command line arguments need to be saved!
-ORIGINAL_COMMAND=$*
+ORIGINAL_COMMAND="$*"
# Now, check if we got told about stuff via ssh
if [ -n "${SSH_ORIGINAL_COMMAND}" ]; then
@@ -124,14 +124,14 @@ if [ -n "${SSH_ORIGINAL_COMMAND}" ]; then
# making us parse them...
set "nothing" ${SSH_ORIGINAL_COMMAND}
shift
- check_commandline $*
+ check_commandline "$*"
fi
# Now, we can locally override all the above variables by just putting
# them into the .ssh/authorized_keys file forced command.
if [ -n "${ORIGINAL_COMMAND}" ]; then
set ${ORIGINAL_COMMAND}
- check_commandline $*
+ check_commandline "$*"
fi
# If we have been told to do stuff for a different archive than default,