X-Git-Url: https://git.xinqibao.xyz/dmenu.git/blobdiff_plain/5a20b409c673a6736c3f9326cb54edc32908f717..ff8daf88475960f6ccc4e3ded3214147ecb21809:/util.c 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);