diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-04-22 22:48:29 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-04-22 22:48:29 +0200 |
commit | 4120e6adf557b01b8e43f8b5abe52c85602def64 (patch) | |
tree | 71c66491d413e42e5ca266a0dce9716c89a15c80 /src/blogc-make | |
parent | 4c6d18000e225c83e6fd949ac1654d937df88a40 (diff) | |
download | blogc-4120e6adf557b01b8e43f8b5abe52c85602def64.tar.gz blogc-4120e6adf557b01b8e43f8b5abe52c85602def64.tar.bz2 blogc-4120e6adf557b01b8e43f8b5abe52c85602def64.zip |
make: do not call exit directly
Diffstat (limited to 'src/blogc-make')
-rw-r--r-- | src/blogc-make/exec-native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/exec-native.c b/src/blogc-make/exec-native.c index a172193..179216a 100644 --- a/src/blogc-make/exec-native.c +++ b/src/blogc-make/exec-native.c @@ -45,7 +45,7 @@ bm_exec_native_cp(bm_filectx_t *source, bm_filectx_t *dest, bool verbose) fprintf(stderr, "blogc-make: error: failed to create output " "directory (%s): %s\n", fname, strerror(errno)); free(fname); - exit(2); + return 1; } *tmp = bkp; } |