diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-10 22:01:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-10 22:01:09 +0200 |
commit | af4131429570f5e6856defc0c36220c0255dcc90 (patch) | |
tree | bb0180ac68eeb7f8195e53e5e918528a5e6213dc | |
parent | m (diff) | |
download | coopgammad-af4131429570f5e6856defc0c36220c0255dcc90.tar.gz coopgammad-af4131429570f5e6856defc0c36220c0255dcc90.tar.bz2 coopgammad-af4131429570f5e6856defc0c36220c0255dcc90.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | src/gammad.c | 3 |
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); |