From a236e559cd2bfcd920dc684d06b188abfd6e2c32 Mon Sep 17 00:00:00 2001 From: Adam Laurie Date: Sat, 31 Dec 2016 12:17:06 +0000 Subject: allow preflight error to pass so simple mode will still work --- src/preflight.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.1-32-gdbae