aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-31 10:41:32 +0000
committerdacctal <dacctal@symlinx.net>2026-05-31 10:41:32 +0000
commitdd989e8e392d61d07ecdd740a156a8155008257a (patch)
tree979542b76cfc15014f59f77561ac6810f749164d
parentf2b80122a11d2c04692653489af6c2d4a5a9fbf4 (diff)
build will kill the program if no usable build system was found
-rw-r--r--src/build.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c
index a84a13a..02bbef4 100644
--- a/src/build.c
+++ b/src/build.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -18,5 +19,6 @@ void build(Pkg pkg) {
return;
}
- printf("%sno usable build system was found\n", print_error);
+ printf("%s no usable build system was found\n", print_error);
+ exit(EXIT_FAILURE);
} \ No newline at end of file