diff options
author | Bert Münnich <ber.t@posteo.de> | 2015-12-28 17:00:21 +0100 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2015-12-28 17:00:21 +0100 |
commit | 53a72c7b657d9dc3347d9d68e0b9a00773efe732 (patch) | |
tree | 0df691ca5c10b2fce81a9d09a4d4304231e44e78 /util.c | |
parent | f75fa78ecaea43204e5e6abdf568139a7b621d6d (diff) | |
download | nsxiv-53a72c7b657d9dc3347d9d68e0b9a00773efe732.tar.zst |
Fix option -q; commit d3a70a2 completely broke it; fixes issue #223
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -62,6 +62,9 @@ void error(int eval, int err, const char* fmt, ...) { va_list ap; + if (eval == 0 && options->quiet) + return; + fflush(stdout); fprintf(stderr, "%s: ", progname); va_start(ap, fmt); |