diff options
author | Martin Szulecki | 2013-11-12 14:34:54 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-12 14:34:54 +0100 |
commit | 75e9f0b39329d04754bb3cca61794e1426152b6a (patch) | |
tree | 639ebb1f6639cc32f6041ae665da3e70fa696ffc /src | |
parent | 5c87dc74829548c94db50e7c188c8e4bd886593e (diff) | |
download | ifuse-75e9f0b39329d04754bb3cca61794e1426152b6a.tar.gz ifuse-75e9f0b39329d04754bb3cca61794e1426152b6a.tar.bz2 |
Handle error due to pending trust dialog for iOS 7+ devices
Diffstat (limited to 'src')
-rw-r--r-- | src/ifuse.c | 5 |
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"); |