summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-02-09 03:14:50 +0100
committerGravatar Nikias Bassen2019-02-09 03:14:50 +0100
commit797a9e7e79d86427f40dbb82d271125b8c0b2485 (patch)
tree6c0bf674660138efdefbf1b87ba6dbc501546a4b /tools
parent8ef9e51d8514a441dc9b7d035954691d880a543e (diff)
downloadlibimobiledevice-797a9e7e79d86427f40dbb82d271125b8c0b2485.tar.gz
libimobiledevice-797a9e7e79d86427f40dbb82d271125b8c0b2485.tar.bz2
idevicepair: Add another error case instead of printing 'unhandled error'
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicepair.c1
1 files changed, 1 insertions, 0 deletions
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;