diff options
Diffstat (limited to 'src/blogc-make/rules.c')
-rw-r--r-- | src/blogc-make/rules.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blogc-make/rules.c b/src/blogc-make/rules.c index 81fda35..dd59d51 100644 --- a/src/blogc-make/rules.c +++ b/src/blogc-make/rules.c @@ -543,6 +543,9 @@ static int runserver_exec(bm_ctx_t *ctx, bc_slist_t *outputs, bc_trie_t *args) { bm_reloader_t *reloader = bm_reloader_new(ctx, all_exec, outputs, args); + if (reloader == NULL) { + return 3; + } int rv = bm_exec_blogc_runserver(ctx, bc_trie_lookup(args, "host"), bc_trie_lookup(args, "port"), bc_trie_lookup(args, "threads")); |