aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backupninja/rub2
1 files changed, 1 insertions, 1 deletions
diff --git a/backupninja/rub b/backupninja/rub
index 09a757f0..dc6a3f1c 100644
--- a/backupninja/rub
+++ b/backupninja/rub
@@ -150,7 +150,7 @@ for SECTION in $include; do
exit 1
else
$rsync $EXCLUDES -e "$ssh" $user@$host:/$SECTION/ $backupdir/$SECTION/$section.0 >> $log
- if [ "$?" != "0' ];
+ if [ "$?" != "0" ];
error "Rsync error when trying to transfer $SECTION"
fi
fi