summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/aardig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aardig.c b/src/aardig.c
index 7cd89ab..59caec6 100644
--- a/src/aardig.c
+++ b/src/aardig.c
@@ -58,6 +58,7 @@ int entry_aardig(int argc, char **argv) {
return 1;
}
+ errno = 0;
if (nice(niceness) == -1 && errno) {
fprintf(stderr, "aardig: kon niet aardig worden.\n");
return 1;