summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-06-22 13:49:07 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:57 +0000
commit440098bdb4467f8d3d9849c92dc372ccbdd650e1 (patch)
tree0cac731f441c2ec432a549a6074219ef46b4ae83
parent744f398ec3592d2e5bd60538aa618f92d315dcc3 (diff)
That was a stupid bug.
-rw-r--r--Cydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cydia.mm b/Cydia.mm
index 88c7481..40c83bd 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -8606,7 +8606,7 @@ int main(int argc, char *argv[]) { _pooled
/*if (substrate && access("/Library/MobileSubstrate/MobileSubstrate.dylib", F_OK) == 0)
dlopen("/Library/MobileSubstrate/MobileSubstrate.dylib", RTLD_LAZY | RTLD_GLOBAL);*/
- if (access("/User", F_OK) != 0 || access("/tmp/.cydia.fw", F_OK) != 0) {
+ if (access("/User", F_OK) != 0 || access("/tmp/.cydia.fw", F_OK) == 0) {
unlink("/tmp/.cydia.fw");
_trace();
system("/usr/libexec/cydia/firmware.sh");