summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2015-08-17 23:15:12 -0600
committerAaron Ball <nullspoon@iohq.net>2015-08-17 23:15:12 -0600
commit13e558935d3d572c0782d8f7a636240b3f09f1bd (patch)
tree9ee0f1485a4d33edffa43b9b4e863ad22e69be6f
parent07e3d4cc011b131619e227a29174f19abb3a20e8 (diff)
downloadterminus-13e558935d3d572c0782d8f7a636240b3f09f1bd.tar.gz
terminus-13e558935d3d572c0782d8f7a636240b3f09f1bd.tar.xz
Fixed bug introduced by previous commit
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 372e011..716f864 100644
--- a/src/main.c
+++ b/src/main.c
@@ -209,7 +209,7 @@ int main(int argc, char* argv[]) {
if((now - lastlogin) > threshold) {
printf("You're dead!\n");
exec_cmd(cmd);
- } else if((lastlogin - now) > -86400) {
+ } else if((lastlogin - now) > 86400) {
// Abort if last login is too far in the future.
// This should account for when
printf(

Generated by cgit