diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-10-22 00:37:40 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-10-22 00:37:40 +0200 |
commit | 59c187046b14470adfde7ec07b40f7961aa2487e (patch) | |
tree | 7ce88c24a81104fa330c2764e0125d408350c9c4 /bin | |
parent | 729671a271222de9a881066d3a9eb0b05c9443a9 (diff) |
what a difference a - can make
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 2 |
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 |