aboutsummaryrefslogtreecommitdiff
path: root/handlers/rdiff
diff options
context:
space:
mode:
authorElijah Saxon <elijah@riseup.net>2005-08-09 21:28:26 +0000
committerElijah Saxon <elijah@riseup.net>2005-08-09 21:28:26 +0000
commit428e9532bf53fb73d2075865d2ced1c3c760812b (patch)
tree2d4eae6305b457e9f5b8b2c57677b7f1a1125a3a /handlers/rdiff
parentddaceb7ddae3d4e24657d7ce1d750cfa3e4f05b3 (diff)
downloadbackupninja-428e9532bf53fb73d2075865d2ced1c3c760812b.tar.gz
backupninja-428e9532bf53fb73d2075865d2ced1c3c760812b.tar.bz2
label is no longer required (now this works with ninjahelper without problems)
Diffstat (limited to 'handlers/rdiff')
-rw-r--r--handlers/rdiff5
1 files changed, 2 insertions, 3 deletions
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