X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=util.c;h=b0612af63c5f8a231d7420bfb518a367ea1f8afa;hb=026827fd65c1163a92a984c4eae3882a6d69f8df;hp=6b703e9b8180fb32ce3e3e018a2bf0124748c797;hpb=5a20b409c673a6736c3f9326cb54edc32908f717;p=dmenu.git diff --git a/util.c b/util.c index 6b703e9..b0612af 100644 --- 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);