summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-03-24 02:30:25 +0100
committerGravatar Nikias Bassen2014-03-24 02:30:25 +0100
commit9c9b7d81c5c536dffa35a1717c5b8369d123b187 (patch)
tree5d133afdb0b06c71430897097f14725ac8a6be1f /tools
parent79e45062502eec95526b50135d2bce95523c1794 (diff)
downloadlibimobiledevice-9c9b7d81c5c536dffa35a1717c5b8369d123b187.tar.gz
libimobiledevice-9c9b7d81c5c536dffa35a1717c5b8369d123b187.tar.bz2
idevicepair: Don't call userpref_delete_pair_record as it is already done by lockdownd_unpair
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicepair.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/idevicepair.c b/tools/idevicepair.c
index ad07a26..872d44a 100644
--- a/tools/idevicepair.c
+++ b/tools/idevicepair.c
@@ -271,8 +271,6 @@ int main(int argc, char **argv)
case OP_UNPAIR:
lerr = lockdownd_unpair(client, NULL);
if (lerr == LOCKDOWN_E_SUCCESS) {
- /* also remove local device record */
- userpref_delete_pair_record(udid);
printf("SUCCESS: Unpaired with device %s\n", udid);
} else {
result = EXIT_FAILURE;