From 33aa526e3ab25e29e5d236ce86607425578830b6 Mon Sep 17 00:00:00 2001 From: tihmstar Date: Thu, 15 Sep 2016 14:51:25 +0200 Subject: [PATCH] works RC1 --- futurerestore/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/futurerestore/main.cpp b/futurerestore/main.cpp index 4159b4f2..c96c72cc 100644 --- a/futurerestore/main.cpp +++ b/futurerestore/main.cpp @@ -48,7 +48,7 @@ using namespace std; int main(int argc, const char * argv[]) { #define reterror(code,a ...) do {error(a); err = code; goto error;} while (0) int err=0; - int res = 0; + int res = -1; int optindex = 0; int opt = 0; @@ -159,8 +159,8 @@ int main(int argc, const char * argv[]) { err = error; } - cout << "Done: restoring "<< (res ? "succeeded" : "failed"); - if (!res) cout << ". Errorcode="<