From: elijah Date: Tue, 9 Aug 2005 21:28:26 +0000 (+0000) Subject: label is no longer required (now this works with ninjahelper without problems) X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=8358736cc09cf1d959d6f4c4ecca178f461b2634;p=matthijs%2Fupstream%2Fbackupninja-vserver.git label is no longer required (now this works with ninjahelper without problems) git-svn-id: http://code.autistici.org/svn/backupninja/trunk@165 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/handlers/rdiff b/handlers/rdiff index 10cb3c0..40ad52d 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -65,7 +65,6 @@ fi ### SOURCE ### -[ "$label" != "" ] || fatal "Source missing label" [ "$sourcetype" == "local" ] || fatal "Only local source type supported" [ "$include" != "" -o "$vsinclude" != "" ] || fatal "No source includes specified" #TODO should I test for vsinclude if usevservers=1? @@ -140,10 +139,10 @@ if [ ! $test ]; then code=$? if [ "$code" == "0" ]; then debug $output - info "Successfully finished backing up source '$label'" + info "Successfully finished backing up source $label" else warning $output - warning "Failed backup up source '$label'" + warning "Failed backup up source $label" fi fi