Add option to skip backup before update

This commit is contained in:
Girish Ramakrishnan
2019-05-12 13:28:53 -07:00
parent e1ecb49d59
commit a7d2098f09
4 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ function boxAutoupdatePatternChanged(pattern) {
var updateInfo = updateChecker.getUpdateInfo();
if (updateInfo.box) {
debug('Starting autoupdate to %j', updateInfo.box);
updater.updateToLatest(auditSource.CRON, NOOP_CALLBACK);
updater.updateToLatest({ skipBackup: false }, auditSource.CRON, NOOP_CALLBACK);
} else {
debug('No box auto updates available');
}