summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <t.j.smeding@uu.nl>2024-07-20 12:44:48 +0200
committerTom Smeding <t.j.smeding@uu.nl>2024-07-22 12:27:04 +0200
commitec3808dbf2bc75f8b187f16e3fe64510f0b9930c (patch)
tree5012c4b710548cf754d1b288072330caa052b69c
parenta70e524ef900504b7508080936dedbb5a782d975 (diff)
aardig: Druk foutmelding af wanneer commando niet gevonden
-rw-r--r--src/aardig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/aardig.c b/src/aardig.c
index 59caec6..5772054 100644
--- a/src/aardig.c
+++ b/src/aardig.c
@@ -65,6 +65,7 @@ int entry_aardig(int argc, char **argv) {
}
execvp(args[0], args);
+ fprintf(stderr, "aardig: kon proces niet starten: %s\n", strerror(errno));
- return 0;
+ return 1;
}