From f50c2533a6c098b16dc0e3880b65cb414d3b2fc1 Mon Sep 17 00:00:00 2001 From: zhaominyong Date: Fri, 27 May 2022 11:54:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BF=A1=E5=8F=B7=E5=BC=95?= =?UTF-8?q?=E8=B5=B7=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0=E7=9A=84=E5=A4=87?= =?UTF-8?q?=E4=BB=BD=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backup-daemon/mybackupmanager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backup-daemon/mybackupmanager.cpp b/backup-daemon/mybackupmanager.cpp index 8fb006f..d3c1389 100755 --- a/backup-daemon/mybackupmanager.cpp +++ b/backup-daemon/mybackupmanager.cpp @@ -340,14 +340,13 @@ void MyBackupManager::autoBackUpForSystemUpdate_noreturn(const QString& autoback worker->setParam(backupWrapper); connect(worker, &Worker::checkResult, this, [&](int result) { - emit this->sendStartBackupResult(result); - switch (result) { case int(BackupResult::CHECK_ENV_SUCCESS) : case int(BackupResult::MKSQUASHFS_START_SUCCESS) : case int(BackupResult::BACKUP_START_SUCCESS) : break; default: + emit this->sendStartBackupResult(result); this->finished(); if (!Utils::isRunning("kybackup")) { this->umountBackupPartition();