summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-14 17:01:26 -0500
committerJune McEnroe <programble@gmail.com>2018-02-14 17:01:26 -0500
commit97b375fc718c2980b0216db7f90f72b7e19ec9fc (patch)
tree833cbeb67009f86821748220fc8dab0b98ccc964 /bin
parentAdd gfxx DUMP_ALL (diff)
downloadsrc-97b375fc718c2980b0216db7f90f72b7e19ec9fc.tar.gz
src-97b375fc718c2980b0216db7f90f72b7e19ec9fc.zip
Write newlines between watch iterations
Diffstat (limited to '')
-rw-r--r--bin/watch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/watch.c b/bin/watch.c
index ac900eee..2787a45a 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);
     }
 }