From 59c187046b14470adfde7ec07b40f7961aa2487e Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Wed, 22 Oct 2008 00:37:40 +0200 Subject: what a difference a - can make Signed-off-by: Joerg Jaspert --- bin/ftpsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3