diff options
-rw-r--r-- | src/idevicerestore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 8c7ad83..a5ea45d 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -175,6 +175,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) if (client->flags & FLAG_DEBUG) { idevice_set_debug_level(1); irecv_set_debug_level(1); + idevicerestore_debug = 1; } idevicerestore_progress(client, RESTORE_STEP_DETECT, 0.0); @@ -984,7 +985,6 @@ int main(int argc, char* argv[]) { case 'd': client->flags |= FLAG_DEBUG; - idevicerestore_debug = 1; break; case 'e': |