diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/idevicesyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 5521736..a22c910 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
| @@ -79,7 +79,7 @@ static int start_logging(void) | |||
| 79 | lerr = lockdownd_start_service(lockdown, SYSLOG_RELAY_SERVICE_NAME, &svc); | 79 | lerr = lockdownd_start_service(lockdown, SYSLOG_RELAY_SERVICE_NAME, &svc); |
| 80 | if (lerr == LOCKDOWN_E_PASSWORD_PROTECTED) { | 80 | if (lerr == LOCKDOWN_E_PASSWORD_PROTECTED) { |
| 81 | fprintf(stderr, "*** Device is passcode protected, enter passcode on the device to continue ***\n"); | 81 | fprintf(stderr, "*** Device is passcode protected, enter passcode on the device to continue ***\n"); |
| 82 | while (1) { | 82 | while (!quit_flag) { |
| 83 | lerr = lockdownd_start_service(lockdown, SYSLOG_RELAY_SERVICE_NAME, &svc); | 83 | lerr = lockdownd_start_service(lockdown, SYSLOG_RELAY_SERVICE_NAME, &svc); |
| 84 | if (lerr != LOCKDOWN_E_PASSWORD_PROTECTED) { | 84 | if (lerr != LOCKDOWN_E_PASSWORD_PROTECTED) { |
| 85 | break; | 85 | break; |
