projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ddaceb7
)
label is no longer required (now this works with ninjahelper without problems)
author
Elijah Saxon
<elijah@riseup.net>
Tue, 9 Aug 2005 21:28:26 +0000
(21:28 +0000)
committer
Elijah Saxon
<elijah@riseup.net>
Tue, 9 Aug 2005 21:28:26 +0000
(21:28 +0000)
handlers/rdiff
patch
|
blob
|
history
diff --git
a/handlers/rdiff
b/handlers/rdiff
index 10cb3c06d7523b4cf4cf219d4e64a1f9e782298d..40ad52dd585dbbcc836872db4a11c2275fc3e3f5 100644
(file)
--- a/
handlers/rdiff
+++ b/
handlers/rdiff
@@
-65,7
+65,6
@@
fi
### SOURCE ###
### 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?
[ "$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
code=$?
if [ "$code" == "0" ]; then
debug $output
- info "Successfully finished backing up source
'$label'
"
+ info "Successfully finished backing up source
$label
"
else
warning $output
else
warning $output
- warning "Failed backup up source
'$label'
"
+ warning "Failed backup up source
$label
"
fi
fi
fi
fi