[Box Backup-commit] COMMIT r2870 - box/trunk/bin/bbackupd
subversion at boxbackup.org
subversion at boxbackup.org
Thu Mar 17 21:28:46 GMT 2011
Author: chris
Date: 2011-03-17 21:28:45 +0000 (Thu, 17 Mar 2011)
New Revision: 2870
Modified:
box/trunk/bin/bbackupd/bbackupd-config.in
Log:
Fix errors reported by default Unix notify script on backup-ok events,
thanks to Steve Haeck for the bug report.
Modified: box/trunk/bin/bbackupd/bbackupd-config.in
===================================================================
--- box/trunk/bin/bbackupd/bbackupd-config.in 2011-03-01 23:04:08 UTC (rev 2869)
+++ box/trunk/bin/bbackupd/bbackupd-config.in 2011-03-17 21:28:45 UTC (rev 2870)
@@ -227,7 +227,7 @@
SENDTO="$current_username"
if [ "\$1" = "" ]; then
- echo "Usage: \$0 <store-full|read-error|backup-error|backup-start|backup-finish>" >&2
+ echo "Usage: \$0 <store-full|read-error|backup-ok|backup-error|backup-start|backup-finish>" >&2
exit 2
elif [ "\$1" = store-full ]; then
$sendmail \$SENDTO <<EOM
@@ -262,7 +262,7 @@
Other files are being backed up.
EOM
-elif [ "\$1" = backup-start -o "\$1" = backup-finish ]; then
+elif [ "\$1" = backup-start -o "\$1" = backup-finish -o "\$1" = backup-ok ]; then
# do nothing by default
true
else
More information about the Boxbackup-commit
mailing list