diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-12-03 10:31:49 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-12-03 10:31:49 +0000 |
commit | cfba32e21cf52dcc85305c5cfda0a69bc29fe095 (patch) | |
tree | 8b099c8c068e616daa77f9125175372b61805174 | |
parent | d0dd0927ea58a8c2520ff1dac7f9d7ed175b2336 (diff) |
Log failure to rename ID map files. (refs #3)
-rw-r--r-- | bin/bbackupd/BackupDaemon.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp index 62e2d8e9..295636aa 100644 --- a/bin/bbackupd/BackupDaemon.cpp +++ b/bin/bbackupd/BackupDaemon.cpp @@ -1807,6 +1807,10 @@ void BackupDaemon::CommitIDMapsAfterSync() #endif if(::rename(newmap.c_str(), target.c_str()) != 0) { + ::syslog(LOG_ERR, "failed to rename ID map: " + "%s to %s: %s", + newmap.c_str(), target.c_str(), + strerror(errno)); THROW_EXCEPTION(CommonException, OSFileError) } } |