[Box Backup-commit] COMMIT r1979 - box/chris/general/bin/bbstoreaccounts
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Sun, 9 Dec 2007 01:13:05 +0000 (UTC)
Author: chris
Date: 2007-12-09 01:13:05 +0000 (Sun, 09 Dec 2007)
New Revision: 1979
Modified:
box/chris/general/bin/bbstoreaccounts/bbstoreaccounts.cpp
Log:
Make bbstoreaccounts properly report when it failed to lock the
account, so that changes requiring a write lock don't proceed
when we don't have one. (merges [1977] [1978])
Modified: box/chris/general/bin/bbstoreaccounts/bbstoreaccounts.cpp
===================================================================
--- box/chris/general/bin/bbstoreaccounts/bbstoreaccounts.cpp 2007-12-09 01:11:55 UTC (rev 1978)
+++ box/chris/general/bin/bbstoreaccounts/bbstoreaccounts.cpp 2007-12-09 01:13:05 UTC (rev 1979)
@@ -147,7 +147,6 @@
// Couldn't lock the account -- just stop now
BOX_ERROR("Failed to lock the account, did not change limits. "
"Try again later.");
- return 1;
}
return gotLock;