From 61f8aab488415d399e02648f7a4253fe645789d2 Mon Sep 17 00:00:00 2001 From: leeffo Date: Thu, 25 Aug 2022 07:04:19 +0000 Subject: [PATCH] add exit after the backup system is successful Signed-off-by: leeffo --- 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() { -- Gitee