diff options
author | Aaron Ball <nullspoon@oper.io> | 2019-12-29 23:33:09 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2019-12-29 23:33:09 -0700 |
commit | a4e2aa7135dbd4254d253f6e3ff017b9155fde5d (patch) | |
tree | afed8f79becb9023f056cf2e5f7f40d8f2500562 | |
parent | 02b7397283193abe3e7a0db0cdfa481223db4297 (diff) | |
download | terminus-master.tar.gz terminus-master.tar.xz |
-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, |