aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-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