Added the "Emacs comment line" on top of every shell file.
[matthijs/upstream/backupninja.git] / handlers / svn
index 9a611c0f1233d90125c214a5090e02c20002693c..26afafde504e4da30cf97b92d2a2c5cc7e405fcb 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
 #
 # this handler will backup subversion repostitories.
 #
@@ -32,7 +33,7 @@ then
        [ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'"
         # is it running ?
        running=`$VSERVERINFO $vsname RUNNING`
-       [ $running = 1 ] || fatal "vserver $vsname is not running."
+       [ "$running" = "1" ] || fatal "vserver $vsname is not running."
 fi
 
 cd $vroot$src