diff options
| author | 2020-02-09 19:42:04 +0100 | |
|---|---|---|
| committer | 2020-02-09 19:42:04 +0100 | |
| commit | 45d78564fdced5aeca5e570404e7e968c36918f0 (patch) | |
| tree | 139f762bd4c82d8f5de5e556ef4a2a64e5d32ac7 /tools | |
| parent | 61babf5f54e7734ebf3044af4c6294524d4b29b5 (diff) | |
| download | libimobiledevice-45d78564fdced5aeca5e570404e7e968c36918f0.tar.gz libimobiledevice-45d78564fdced5aeca5e570404e7e968c36918f0.tar.bz2 | |
idevicesyslog: Make sure CTRL+C works when waiting for passcode entry
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; |
