summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-05-11 20:31:02 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-05-11 20:31:02 -0700
commit5dfa5d42a6c3bb917f7fec1ee3e83cc1c63e1010 (patch)
treedfbe2733972c8b1cc1c7147b2e1fc62a667baec9
parent375ac92aadb4a63fd8e1211ac645f44231abcab4 (diff)
Fix a silly mistake (a reversed close assertion).
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 409381b..1e521f7 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4484,7 +4484,7 @@ static _H<NSMutableSet> Diversions_;
}
fclose(du);
- } else _assert(close(fds[0]));
+ } else _assert(close(fds[0]) != -1);
ReapZombie(pid);