diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index ebd527d..3f555e8 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -138,6 +138,7 @@ NAME="`basename $0`" # The original command line arguments need to be saved! 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 |