mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Added ctrl-c handling to reprocess and recovery tools.
This commit is contained in:
@@ -183,7 +183,7 @@ bool databaseRecovery(
|
||||
{
|
||||
rtabmap.close(false);
|
||||
if(errorMsg)
|
||||
*errorMsg = "Recovery canceled";
|
||||
*errorMsg = uFormat("Recovery canceled, renaming back \"%s\" to \"%s\".", backupPath.c_str(), databasePath.c_str());
|
||||
|
||||
// put back the file as before
|
||||
UFile::erase(databasePath);
|
||||
|
||||
Reference in New Issue
Block a user