Changeset 1222
- Timestamp:
- 16/12/2006 16:12:35 (5 years ago)
- File:
-
- 1 edited
-
box/chris/merge/bin/bbackupd/BackupDaemon.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/merge/bin/bbackupd/BackupDaemon.cpp
r1191 r1222 1563 1563 box_time_t attrModTime = 0; 1564 1564 BackupClientFileAttributes attr; 1565 attr.ReadAttributes(ploc->mPath.c_str(), true /* directories have zero mod times */, 1566 0 /* not interested in mod time */, &attrModTime /* get the attribute modification time */); 1565 try 1566 { 1567 attr.ReadAttributes(ploc->mPath.c_str(), 1568 true /* directories have zero mod times */, 1569 0 /* not interested in mod time */, 1570 &attrModTime /* get the attribute modification time */); 1571 } 1572 catch (BoxException &e) 1573 { 1574 ::syslog(LOG_ERR, "Failed to get attributes for path " 1575 "'%s', skipping.", ploc->mPath.c_str()); 1576 continue; 1577 } 1567 1578 1568 1579 // Execute create directory command … … 1588 1599 delete ploc; 1589 1600 ploc = 0; 1601 ::syslog(LOG_ERR, "Failed to setup location '%s' path '%s'", 1602 ploc->mName.c_str(), ploc->mPath.c_str()); 1590 1603 throw; 1591 1604 }
Note: See TracChangeset
for help on using the changeset viewer.
