diff options
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -178,8 +178,7 @@ int main(int argc, char* argv[]) { // Determine if I'm dead if((now - lastlogin) > threshold) { printf("You're dead!\n"); - exec_cmd(cmd); - return 0; + return exec_cmd(cmd); } else if((lastlogin - now) > SECONDS_IN_DAY) { // Abort if last login is in the future. fprintf(stderr, |