diff --git a/backup-daemon/udisksystembackupproxy.cpp b/backup-daemon/udisksystembackupproxy.cpp index 03e5570..139b0cd 100755 --- a/backup-daemon/udisksystembackupproxy.cpp +++ b/backup-daemon/udisksystembackupproxy.cpp @@ -182,7 +182,7 @@ void UDiskSystemBackupProxy::checkFreeCapacity(qint64 itotalSize) // 拔掉U盘的场景 if (m_isForce) { emit this->checkResult(int(BackupResult::WRITE_BACKUP_PATHS_TO_USER_FAILED)); - return false; + return ; } // 1、计算待备份数据的大小 diff --git a/backup-daemon/udisksystemrestoreproxy.cpp b/backup-daemon/udisksystemrestoreproxy.cpp index 739425a..7cb1eb0 100755 --- a/backup-daemon/udisksystemrestoreproxy.cpp +++ b/backup-daemon/udisksystemrestoreproxy.cpp @@ -362,7 +362,7 @@ void UDiskSystemRestoreProxy::restoreSystem() if (m_isForce) { qCritical("U盘已拔出"); emit checkResult(int(BackupResult::INC_NOT_FOUND_DIR)); - return false; + return ; } // 停止安全防护, 迁移到业务开始的锁定中去