diff options
Diffstat (limited to '')
-rw-r--r-- | src/cg-base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cg-base.c b/src/cg-base.c index d6d2fcb..24bc09f 100644 --- a/src/cg-base.c +++ b/src/cg-base.c @@ -841,7 +841,8 @@ LIST_DEPTHS fail: rc = 1; - perror(argv0); + if (errno) + perror(argv0); goto done; cg_fail: |