aboutsummaryrefslogtreecommitdiffstats
path: root/restore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'restore.cpp')
-rw-r--r--restore.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/restore.cpp b/restore.cpp
index 8c15f6f..edfeff8 100644
--- a/restore.cpp
+++ b/restore.cpp
@@ -19,6 +19,8 @@
#include "bu.h"
+#include "messagesocket.h"
+
using namespace android;
static int verify_sod()
@@ -294,9 +296,15 @@ int do_restore(int argc, char **argv)
int len;
int written;
+ MessageSocket ms;
+ ms.ClientInit();
+ ms.Show("Restore in progress...");
+
rc = do_restore_tree();
logmsg("do_restore: rc=%d\n", rc);
+ ms.Dismiss();
+
free(hash_name);
hash_name = NULL;