diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-09-27 23:00:00 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-09-27 23:00:00 +0200 |
commit | 5487f9500afe232d10377175ed474480fbfcebae (patch) | |
tree | d1c778368ea018f7d0658799ec45212b574e51c4 /bin | |
parent | 0905818226e6655d6b8bdcead186cc828f6a26b7 (diff) |
ouch
ouch, use the correct syntax.
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 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} \ |