mirror of
https://github.com/tihmstar/futurerestore.git
synced 2024-12-22 17:35:29 +00:00
fixed crash when no device connected
This commit is contained in:
parent
75edbc31a6
commit
bba2b3d0c7
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue