summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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