diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-03-28 19:42:13 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-03-28 19:42:13 +0100 |
commit | 09139645e866b745c9f8797659f12c90af867015 (patch) | |
tree | 846b257841555e5bc91cad1c47eafddc406e19d3 /src/blogc-make/main.c | |
parent | 35702f4cfcc5ffc21d8dcbf0a9d176118fec2927 (diff) | |
download | blogc-09139645e866b745c9f8797659f12c90af867015.tar.gz blogc-09139645e866b745c9f8797659f12c90af867015.tar.bz2 blogc-09139645e866b745c9f8797659f12c90af867015.zip |
make: exit 1 on error
Diffstat (limited to 'src/blogc-make/main.c')
-rw-r--r-- | src/blogc-make/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc-make/main.c b/src/blogc-make/main.c index 87b41a4..d9f60b9 100644 --- a/src/blogc-make/main.c +++ b/src/blogc-make/main.c @@ -98,7 +98,7 @@ main(int argc, char **argv) print_usage(); fprintf(stderr, "blogc-make: error: invalid argument: " "-%c\n", argv[i][1]); - rv = 3; + rv = 1; goto cleanup; } } @@ -115,7 +115,7 @@ main(int argc, char **argv) argc > 0 ? argv[0] : NULL, &err); if (err != NULL) { bc_error_print(err, "blogc-make"); - rv = 3; + rv = 1; goto cleanup; } ctx->dev = dev; |