aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Saxon <elijah@riseup.net>2005-03-21 17:50:49 +0000
committerElijah Saxon <elijah@riseup.net>2005-03-21 17:50:49 +0000
commit76711771db7c1f38a765aa985010aa50bd24047b (patch)
treea6eec78ec5320c87edd1809c6b457c1d600042a0
parent9f9a16697883529f3271b3b44ab742b217726e2a (diff)
downloadbackupninja-76711771db7c1f38a765aa985010aa50bd24047b.tar.gz
backupninja-76711771db7c1f38a765aa985010aa50bd24047b.tar.bz2
fixed bug which always reported error.
-rw-r--r--handlers/svn2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/svn b/handlers/svn
index d4c8817..d0e3648 100644
--- a/handlers/svn
+++ b/handlers/svn
@@ -34,7 +34,7 @@ do
fi
done
-if [ $error ]; then
+if [ $error -eq 1 ]; then
echo "Error: because of earlier errors, we are leaving svn backups in $tmp instead of $dest"
else
if [ -d $dest -a -d $tmp ]; then