diff options
author | June McEnroe <june@causal.agency> | 2018-02-14 17:01:26 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-02-14 17:01:26 -0500 |
commit | d6df9e6711cea3049e2085bf43606a7ca7093a9c (patch) | |
tree | c80269bfc1a11fbb875f5f6b23467b196bea7a56 | |
parent | Add gfxx DUMP_ALL (diff) | |
download | src-d6df9e6711cea3049e2085bf43606a7ca7093a9c.tar.gz src-d6df9e6711cea3049e2085bf43606a7ca7093a9c.zip |
Write newlines between watch iterations
-rw-r--r-- | bin/watch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/watch.c b/bin/watch.c index c31efb78..f1b76baa 100644 --- a/bin/watch.c +++ b/bin/watch.c @@ -53,11 +53,11 @@ static void exec(char *const argv[]) { if (pid < 0) err(EX_OSERR, "wait"); if (WIFEXITED(status)) { - warnx("exit %d", WEXITSTATUS(status)); + warnx("exit %d\n", WEXITSTATUS(status)); } else if (WIFSIGNALED(status)) { - warnx("signal %d", WTERMSIG(status)); + warnx("signal %d\n", WTERMSIG(status)); } else { - warnx("status %d", status); + warnx("status %d\n", status); } } |