summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ifuse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 74559e4..a0f4a60 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -753,6 +753,11 @@ int main(int argc, char *argv[])
fprintf(stderr, "Please disable the password protection on your device and try again.\n");
fprintf(stderr, "The device does not allow pairing as long as a password has been set.\n");
fprintf(stderr, "You can enable it again after the connection succeeded.\n");
+#ifdef LOCKDOWN_E_PAIRING_DIALOG_PENDING
+ } else if (ret == LOCKDOWN_E_PAIRING_DIALOG_PENDING) {
+ fprintf(stderr, "Please dismiss the trust dialog on your device and try again.\n");
+ fprintf(stderr, "The device does not allow pairing as long as the dialog has not been accepted.\n");
+#endif
} else {
fprintf(stderr, "Failed to connect to lockdownd service on the device.\n");
fprintf(stderr, "Try again. If it still fails try rebooting your device.\n");