diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-11-11 00:43:48 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-11-11 00:43:48 +0000 |
commit | 965283c656ee2db30ab91b91bb8a08df18ef7946 (patch) | |
tree | a898246d434c1adad3ef9d0e04528ddeeeab562e /bin/bbackupd/win32 | |
parent | e5fe9cdeecdb366529fb9d59f5f7d99b78e38dbf (diff) |
Fix NotifyScript syntax error reported by Roy.
Ignore "backup-ok" messages in NotifyScript by default.
Diffstat (limited to 'bin/bbackupd/win32')
-rw-r--r-- | bin/bbackupd/win32/NotifySysAdmin.vbs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/bbackupd/win32/NotifySysAdmin.vbs b/bin/bbackupd/win32/NotifySysAdmin.vbs index 52ab25b5..712d92da 100644 --- a/bin/bbackupd/win32/NotifySysAdmin.vbs +++ b/bin/bbackupd/win32/NotifySysAdmin.vbs @@ -32,7 +32,7 @@ If args(0) = "store-full" Then ElseIf args(0) = "read-error" Then subject = subjtmpl & " (read errors)" body = "Errors occurred reading some files or directories " & _ - "for backup on " & hostname & "." _ & vbCrLf & _ + "for backup on " & hostname & "." & vbCrLf & _ vbCrLf & _ "===================================" & vbCrLf & _ "THESE FILES ARE NOT BEING BACKED UP" & vbCrLf & _ @@ -55,7 +55,8 @@ ElseIf args(0) = "backup-error" Then "information about the error, " & vbCrLf & _ "and take appropriate action." & vbCrLf SendMail from,sendto,subject,body -ElseIf args(0) = "backup-start" Or args(0) = "backup-finish" Then +ElseIf args(0) = "backup-start" Or args(0) = "backup-finish" _ + Or args(0) = "backup-ok" Then ' do nothing for these messages by default Else subject = subjtmpl & " (unknown)" |