From 5487f9500afe232d10377175ed474480fbfcebae Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 27 Sep 2008 23:00:00 +0200 Subject: ouch ouch, use the correct syntax. 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 ab734b8..6914f7a 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -154,7 +154,7 @@ while [ -e "${UPDATEREQUIRED}" ]; do result=$? # 24 - vanished source files. Ignore, that should be the target of $UPDATEREQUIRED # and us re-running. - if [ $result -eq 0 || $result -eq 24 ]; then + if [ $result -eq 0 ] || [ $result -eq 24 ]; then # We are lucky, it worked. Now do step 2 and sync again, this time including # the packages/releases files ${RSYNC} ${RSYNC_OPTIONS} ${RSYNC_OPTIONS2} ${EXCLUDE} ${SOURCE_EXCLUDE} \ -- cgit v1.2.3