diff options
Diffstat (limited to 'tools/idevicecrashreport.c')
| -rw-r--r-- | tools/idevicecrashreport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicecrashreport.c b/tools/idevicecrashreport.c index dbed041..de2edb5 100644 --- a/tools/idevicecrashreport.c +++ b/tools/idevicecrashreport.c | |||
| @@ -369,6 +369,7 @@ int main(int argc, char* argv[]) { | |||
| 369 | 369 | ||
| 370 | lockdownd_error = lockdownd_client_new_with_handshake(device, &lockdownd, "idevicecrashreport"); | 370 | lockdownd_error = lockdownd_client_new_with_handshake(device, &lockdownd, "idevicecrashreport"); |
| 371 | if (lockdownd_error != LOCKDOWN_E_SUCCESS) { | 371 | if (lockdownd_error != LOCKDOWN_E_SUCCESS) { |
| 372 | fprintf(stderr, "ERROR: Could not connect to lockdownd, error code %d\n", lockdownd_error); | ||
| 372 | idevice_free(device); | 373 | idevice_free(device); |
| 373 | return -1; | 374 | return -1; |
| 374 | } | 375 | } |
