diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-14 22:26:19 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-14 22:26:19 +0200 |
commit | 63d8884f8b748457c43af383f8be09ada3063565 (patch) | |
tree | 95cc5cc8b2b45272c42107144e165db95e36da52 /src | |
parent | 293c3e4e41cf9db879cfcab789a5a5accd6ba970 (diff) |
aardig: errno is niet zo aardig
Diffstat (limited to 'src')
-rw-r--r-- | src/aardig.c | 1 |
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; |