Changeset 1862
- Timestamp:
- 09/10/2007 00:21:48 (2 years ago)
- Files:
-
- 1 modified
-
box/trunk/bin/bbackupd/BackupDaemon.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbackupd/BackupDaemon.cpp
r1806 r1862 2279 2279 } 2280 2280 2281 // Is there a notif ation script?2281 // Is there a notification script? 2282 2282 const Configuration &conf(GetConfiguration()); 2283 if(!conf.KeyExists("NotifyScript") && 2284 Event != NotifyEvent_BackupStart && 2285 Event != NotifyEvent_BackupFinish) 2283 if(!conf.KeyExists("NotifyScript")) 2286 2284 { 2287 2285 // Log, and then return 2288 BOX_ERROR("Not notifying administrator about event " 2289 << sEventNames[Event] << " -- set NotifyScript " 2290 "to do this in future"); 2286 if(Event != NotifyEvent_BackupStart && 2287 Event != NotifyEvent_BackupFinish) 2288 { 2289 BOX_ERROR("Not notifying administrator about event " 2290 << sEventNames[Event] << " -- set NotifyScript " 2291 "to do this in future"); 2292 } 2291 2293 return; 2292 2294 }
