fixed crash when no device connected

This commit is contained in:
tihmstar 2016-12-05 12:38:11 +01:00
parent 75edbc31a6
commit bba2b3d0c7

View file

@ -125,7 +125,7 @@ int main(int argc, const char * argv[]) {
}
futurerestore client;
client.init();
if (!client.init()) reterror(-3,"can't init, no device found\n");
if (apticketPath) client.loadAPTicket(apticketPath);