aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-10 22:01:09 +0200
committerMattias Andrée <maandree@kth.se>2016-07-10 22:01:09 +0200
commitaf4131429570f5e6856defc0c36220c0255dcc90 (patch)
treebb0180ac68eeb7f8195e53e5e918528a5e6213dc /src
parentm (diff)
downloadcoopgammad-af4131429570f5e6856defc0c36220c0255dcc90.tar.gz
coopgammad-af4131429570f5e6856defc0c36220c0255dcc90.tar.bz2
coopgammad-af4131429570f5e6856defc0c36220c0255dcc90.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/gammad.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gammad.c b/src/gammad.c
index 5d4ecbd..54d2109 100644
--- a/src/gammad.c
+++ b/src/gammad.c
@@ -235,7 +235,8 @@ int main(int argc, char** argv)
return rc;
/* Fail */
fail:
- perror(argv0);
+ if (errno != 0)
+ perror(argv0);
goto done;
fail_libgamma:
libgamma_perror(argv0, gerror);