diff options
author | Aaron Ball <nullspoon@iohq.net> | 2015-08-17 23:15:12 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@iohq.net> | 2015-08-17 23:15:12 -0600 |
commit | 13e558935d3d572c0782d8f7a636240b3f09f1bd (patch) | |
tree | 9ee0f1485a4d33edffa43b9b4e863ad22e69be6f | |
parent | 07e3d4cc011b131619e227a29174f19abb3a20e8 (diff) | |
download | terminus-13e558935d3d572c0782d8f7a636240b3f09f1bd.tar.gz terminus-13e558935d3d572c0782d8f7a636240b3f09f1bd.tar.xz |
Fixed bug introduced by previous commit
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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( |