summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicedebug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c
index 437faba..b0198a8 100644
--- a/tools/idevicedebug.c
+++ b/tools/idevicedebug.c
@@ -501,7 +501,9 @@ int main(int argc, char *argv[])
if (response) {
log_debug("response: %s", response);
- dres = debugserver_client_handle_response(debugserver_client, &response, 1);
+ if (strncmp(response, "OK", 2)) {
+ dres = debugserver_client_handle_response(debugserver_client, &response, 1);
+ }
}
sleep(1);