diff options
author | Adam Laurie | 2016-12-31 12:17:06 +0000 |
---|---|---|
committer | Nikias Bassen | 2019-02-12 21:32:38 +0100 |
commit | a236e559cd2bfcd920dc684d06b188abfd6e2c32 (patch) | |
tree | 24c2f4feb22c5c118f741f349c705cb237ecf0f2 | |
parent | 8a6d05cf73a7d11166e2029d9bbce377ab78f4b7 (diff) | |
download | usbmuxd-a236e559cd2bfcd920dc684d06b188abfd6e2c32.tar.gz usbmuxd-a236e559cd2bfcd920dc684d06b188abfd6e2c32.tar.bz2 |
allow preflight error to pass so simple mode will still work
-rw-r--r-- | src/preflight.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/preflight.c b/src/preflight.c index 0eea179..15429c0 100644 --- a/src/preflight.c +++ b/src/preflight.c @@ -236,7 +236,9 @@ retry: lockdownd_service_descriptor_t service = NULL; lerr = lockdownd_start_service(lockdown, "com.apple.mobile.insecure_notification_proxy", &service); if (lerr != LOCKDOWN_E_SUCCESS) { - usbmuxd_log(LL_ERROR, "%s: ERROR: Could not start insecure_notification_proxy on %s, lockdown error %d", __func__, _dev->udid, lerr); + /* even though we failed, simple mode should still work, so only warn of an error */ + usbmuxd_log(LL_INFO, "%s: ERROR: Could not start insecure_notification_proxy on %s, lockdown error %d", __func__, _dev->udid, lerr); + client_device_add(info); goto leave; } |