summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2018-03-15 01:02:26 +0100
committerGravatar Nikias Bassen2018-03-15 01:02:26 +0100
commit6c7a2c08a1d9ac5db1a465f66d72360cdf6acd19 (patch)
tree9f149a946d30460cc96c47ad1ef53e838f59777e
parent1db59f89159c0f9ebf470827af75e6e1b70e2469 (diff)
downloadlibideviceactivation-6c7a2c08a1d9ac5db1a465f66d72360cdf6acd19.tar.gz
libideviceactivation-6c7a2c08a1d9ac5db1a465f66d72360cdf6acd19.tar.bz2
ideviceactivation: Only warn about 'Device Unknown' server response when trying to activate
-rw-r--r--tools/ideviceactivation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ideviceactivation.c b/tools/ideviceactivation.c
index d50bf98..1db2dc1 100644
--- a/tools/ideviceactivation.c
+++ b/tools/ideviceactivation.c
@@ -171,7 +171,7 @@ int main(int argc, char *argv[])
}
plist_free(p_version);
- if (product_version >= 0x0A0200) {
+ if (op == OP_ACTIVATE && product_version >= 0x0A0200) {
/* The activation server will not acknowledge the activation for iOS >= 10.2 anymore. Let's warn the user about this. */
plist_t state = NULL;
lockdownd_get_value(lockdown, NULL, "ActivationState", &state);