summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 648aea1..feda3fe 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -138,7 +138,7 @@ NAME="`basename $0`"
# The original command line arguments need to be saved!
ORIGINAL_COMMAND="$*"
-SSH_ORIGINAL_COMMAND=${SSH_ORIGINAL_COMMAND:""}
+SSH_ORIGINAL_COMMAND=${SSH_ORIGINAL_COMMAND:-""}
# Now, check if we got told about stuff via ssh
if [ -n "${SSH_ORIGINAL_COMMAND}" ]; then
# We deliberately add "nothing" and ignore it right again, to avoid