From d0da47e0b37c0804b60e378c68b905d006107d3d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 9 Oct 2015 11:48:59 -0700 Subject: [PATCH] fix comment --- src/apps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps.js b/src/apps.js index 1a8afb55a..6c2178057 100644 --- a/src/apps.js +++ b/src/apps.js @@ -691,11 +691,11 @@ function autoupdateApps(updateInfo, callback) { // updateInfo is { appId -> { ma } function canBackupApp(app) { - // only backup apps that are installed or pending configure. Rest of them are in some + // only backup apps that are installed or pending configure or called from apptask. Rest of them are in some // state not good for consistent backup (i.e addons may not have been setup completely) return (app.installationState === appdb.ISTATE_INSTALLED && app.health === appdb.HEALTH_HEALTHY) || app.installationState === appdb.ISTATE_PENDING_CONFIGURE || - app.installationState === appdb.ISTATE_PENDING_BACKUP || + app.installationState === appdb.ISTATE_PENDING_BACKUP || // called from apptask app.installationState === appdb.ISTATE_PENDING_UPDATE; // called from apptask }