]> git.armaanb.net Git - dmenu.git/blobdiff - util.c
die() consistency: always add newline
[dmenu.git] / util.c
diff --git a/util.c b/util.c
index 6b703e9b8180fb32ce3e3e018a2bf0124748c797..b0612af63c5f8a231d7420bfb518a367ea1f8afa 100644 (file)
--- a/util.c
+++ b/util.c
@@ -27,6 +27,8 @@ die(const char *fmt, ...) {
        if (fmt[0] && fmt[strlen(fmt)-1] == ':') {
                fputc(' ', stderr);
                perror(NULL);
+       } else {
+               fputc('\n', stderr);
        }
 
        exit(1);