Skip to content

Commit

Permalink
ideviceactivation: Only warn about 'Device Unknown' server response w…
Browse files Browse the repository at this point in the history
…hen trying to activate
  • Loading branch information
nikias committed Mar 15, 2018
1 parent 1db59f8 commit 6c7a2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ideviceactivation.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6c7a2c0

Please sign in to comment.