Mercurial > repo
changeset 12140:2826c0c87d92 draft
<b_jonas> fetch /hackenv/bin/uptime https://hack.esolangs.org/get/bin/uptime
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 17 Nov 2019 20:11:40 +0000 |
parents | c2f4b787425f |
children | bbcac610574d |
files | bin/uptime |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/uptime Sun Nov 17 19:17:14 2019 +0000 +++ b/bin/uptime Sun Nov 17 20:11:40 2019 +0000 @@ -20,7 +20,7 @@ sys.exit(0) else: print("uptime: invalid option -- '" + c + "'\n" + helpmsg, file = sys.stderr) - sys.exit(0) + sys.exit(1) if opt_s: print(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(boottime))) else: