[Box Backup-commit] #59: Inconsistent treatment of NotifyScript between Box Backup and Boxi

Box Backup trac
Thu Nov 26 11:59:30 GMT 2009


#59: Inconsistent treatment of NotifyScript between Box Backup and Boxi
----------------------+-----------------------------------------------------
 Reporter:  achim     |       Owner:  ben    
     Type:  defect    |      Status:  new    
 Priority:  normal    |   Milestone:         
Component:  bbackupd  |     Version:  0.11rc2
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by achim):

 Fix so that bbackup will accept paths with spaces for NotifyScript:
 change BackupDaemon.cpp line 2196 from
         // Script to run
         std::string script(conf.GetKeyValue("NotifyScript") + ' ' +
                 sEventNames[Event]);

 to
         // Script to run
         std::string script("\"" + conf.GetKeyValue("NotifyScript") + "\""
 + ' ' +
                 sEventNames[Event]);

-- 
Ticket URL: <https://www.boxbackup.org/trac/ticket/59#comment:1>
Box Backup <http://www.boxbackup.org/>
An open source, completely automatic on-line backup system for UNIX.



More information about the Boxbackup-commit mailing list