X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fsvn;h=891b8e9574d207b8a539e8b6d6331cc570149987;hb=cfc47e5571e61f4323b9f64f9cbb64dfbc4bf1b4;hp=9a611c0f1233d90125c214a5090e02c20002693c;hpb=2d96b777ad4a0d580abc82af8d98687752aec554;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/svn b/handlers/svn index 9a611c0..891b8e9 100644 --- a/handlers/svn +++ b/handlers/svn @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 8; 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