From: Elijah Saxon Date: Mon, 21 Mar 2005 17:50:49 +0000 (+0000) Subject: fixed bug which always reported error. X-Git-Tag: backupninja-0.5~3 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=76711771db7c1f38a765aa985010aa50bd24047b;p=matthijs%2Fupstream%2Fbackupninja.git fixed bug which always reported error. --- 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