set restoring to false

This commit is contained in:
Girish Ramakrishnan
2017-11-28 15:01:59 -08:00
parent e9b308bb95
commit 9cdd2df696

View File

@@ -668,7 +668,10 @@ function restore(backupConfig, backupId, version, callback) {
backups.restore.bind(null, backupConfig, backupId),
autoprovision,
shell.sudo.bind(null, 'restart', [ RESTART_CMD ])
], NOOP_CALLBACK);
], function (error) {
debug('restore:', error);
gWebadminStatus.restoring = false;
});
});
});
}