Changeset 2870


Ignore:
Timestamp:
17/03/2011 21:28:45 (14 months ago)
Author:
chris
Message:

Fix errors reported by default Unix notify script on backup-ok events,
thanks to Steve Haeck for the bug report.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbackupd/bbackupd-config.in

    r2498 r2870  
    228228 
    229229if [ "\$1" = "" ]; then 
    230         echo "Usage: \$0 <store-full|read-error|backup-error|backup-start|backup-finish>" >&2 
     230        echo "Usage: \$0 <store-full|read-error|backup-ok|backup-error|backup-start|backup-finish>" >&2 
    231231        exit 2 
    232232elif [ "\$1" = store-full ]; then 
     
    263263 
    264264EOM 
    265 elif [ "\$1" = backup-start -o "\$1" = backup-finish ]; then 
     265elif [ "\$1" = backup-start -o "\$1" = backup-finish -o "\$1" = backup-ok ]; then 
    266266        # do nothing by default 
    267267        true 
Note: See TracChangeset for help on using the changeset viewer.