summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);