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();