summaryrefslogtreecommitdiffstats
path: root/src/irecovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irecovery.c')
-rw-r--r--src/irecovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irecovery.c b/src/irecovery.c
index 0e981cd..415c20e 100644
--- a/src/irecovery.c
+++ b/src/irecovery.c
@@ -276,6 +276,8 @@ int main(int argc, char** argv) {
}
}
+ if (verbose) irecv_set_debug_level(verbose);
+
irecv_client_t client = NULL;
for (i = 0; i <= 5; i++) {
debug("Attempting to connect... \n");
@@ -290,8 +292,6 @@ int main(int argc, char** argv) {
}
}
- if (verbose) irecv_set_debug_level(verbose);
-
switch (action) {
case kResetDevice:
irecv_reset(client);