25 lines
562 B
Diff
25 lines
562 B
Diff
From ad0d95ff21f851ea5d3ec06d2d18ca0c760361c4 Mon Sep 17 00:00:00 2001
|
|
From: leeffo <liweiganga@uniontech.com>
|
|
Date: Thu, 25 Aug 2022 15:02:55 +0800
|
|
Subject: [PATCH] add exit after the backup system is successful
|
|
|
|
---
|
|
cui/main.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/cui/main.cpp b/cui/main.cpp
|
|
index b3c55be..1fb80a1 100644
|
|
--- a/cui/main.cpp
|
|
+++ b/cui/main.cpp
|
|
@@ -285,6 +285,7 @@ void cmdBackupSys() {
|
|
} else {
|
|
cout << "backup successful, snapshot: " << snapID << endl;
|
|
}
|
|
+ exit(EXIT_SUCCESS);
|
|
}
|
|
|
|
void cmdBackupData() {
|
|
--
|
|
2.20.1
|
|
|