From 797a9e7e79d86427f40dbb82d271125b8c0b2485 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 9 Feb 2019 03:14:50 +0100 Subject: idevicepair: Add another error case instead of printing 'unhandled error' --- tools/idevicepair.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/idevicepair.c b/tools/idevicepair.c index 0b866ea..77c46b7 100644 --- a/tools/idevicepair.c +++ b/tools/idevicepair.c @@ -41,6 +41,7 @@ static void print_error_message(lockdownd_error_t err) case LOCKDOWN_E_PASSWORD_PROTECTED: printf("ERROR: Could not validate with device %s because a passcode is set. Please enter the passcode on the device and retry.\n", udid); break; + case LOCKDOWN_E_INVALID_CONF: case LOCKDOWN_E_INVALID_HOST_ID: printf("ERROR: Device %s is not paired with this host\n", udid); break; -- cgit v1.1-32-gdbae