aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-09 01:10:22 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-09 01:10:22 +0100
commitacf14b6fafd39e46ba343fd069bed205d7c35fb9 (patch)
treedf35327e117d40daec1c4f960cee93c66f999c69 /src
parente641699717e5e1a58da975ec7357baefb8526095 (diff)
downloadblogc-acf14b6fafd39e46ba343fd069bed205d7c35fb9.tar.gz
blogc-acf14b6fafd39e46ba343fd069bed205d7c35fb9.tar.bz2
blogc-acf14b6fafd39e46ba343fd069bed205d7c35fb9.zip
make: 130 (ctrl-c) is not an error for runserver
Diffstat (limited to 'src')
-rw-r--r--src/blogc-make/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/exec.c b/src/blogc-make/exec.c
index db20cae..ca57e62 100644
--- a/src/blogc-make/exec.c
+++ b/src/blogc-make/exec.c
@@ -385,7 +385,7 @@ bm_exec_blogc_runserver(bm_ctx_t *ctx, const char *host, const char *port,
int rv = WEXITSTATUS(status);
bc_string_free(cmd, true);
- if (rv != 0) {
+ if (rv != 0 && rv != 130) {
if (rv == 127) {
fprintf(stderr,
"blogc-make: error: blogc-runserver command not found. Maybe "