aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index eab7f29b10..791cb3b1b5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -452,10 +452,11 @@ int main(int argc, char **argv) {
if ((err = os_copy_file(build_template_path, &build_file_abs))) {
fprintf(stderr, "Unable to write build.zig template: %s\n", err_str(err));
+ return EXIT_FAILURE;
} else {
fprintf(stderr, "Wrote build.zig template\n");
+ return EXIT_SUCCESS;
}
- return EXIT_SUCCESS;
}
fprintf(stderr,