aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--util.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1380c2b..2c39905 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION := git-20151226
+VERSION := git-20151228
PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man
diff --git a/util.c b/util.c
index 5271a1d..070101e 100644
--- a/util.c
+++ b/util.c
@@ -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);