Skip to content

Commit

Permalink
Fix jailbreak check always returning true
Browse files Browse the repository at this point in the history
  • Loading branch information
aydenp committed Jan 28, 2017
1 parent d83fd90 commit d02d694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yalu102/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ - (bool) alreadyJailbroken {
struct utsname u = { 0 };
uname(&u);

bool alreadyJailbroken = strstr(u.version, "MarijuanARM") == 0;
bool alreadyJailbroken = strstr(u.version, "MarijuanARM");
return alreadyJailbroken;
}

Expand Down

0 comments on commit d02d694

Please sign in to comment.