From 6145a56950247797a67711bf3221ab327c80dfef Mon Sep 17 00:00:00 2001 From: tihmstar Date: Mon, 2 Jan 2017 00:32:30 +0100 Subject: [PATCH] style fixes --- futurerestore/main.cpp | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/futurerestore/main.cpp b/futurerestore/main.cpp index 9f2dd579..81810805 100644 --- a/futurerestore/main.cpp +++ b/futurerestore/main.cpp @@ -157,7 +157,7 @@ int main(int argc, const char * argv[]) { }else{ client.putDeviceIntoRecovery(); client.waitForNonce(); - info("done\n"); + info("Done\n"); } goto error; } @@ -206,17 +206,14 @@ int main(int argc, const char * argv[]) { goto error; } - if (ipsw) { - try { - res = client.doRestore(ipsw, flags & FLAG_UPDATE); - } catch (int error) { - if (error == -20) error("maybe you forgot -w ?\n"); - err = error; - } - cout << "Done: restoring "<< (!res ? "succeeded" : "failed")<<"." <