From 8d4874135a55e2f96af8e621a06f095a308ce8c3 Mon Sep 17 00:00:00 2001 From: MARTY FABIEN Date: Thu, 21 Jan 2021 10:47:23 +0100 Subject: [PATCH] fix: return a !=0 status code if we can't launch the program --- src/log_proxy_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log_proxy_wrapper.c b/src/log_proxy_wrapper.c index c9f5c6c..bc34a79 100644 --- a/src/log_proxy_wrapper.c +++ b/src/log_proxy_wrapper.c @@ -150,5 +150,5 @@ int main(int argc, char *argv[]) close(bak_stderr); g_critical("can't launch %s command with error: %i [%s]", command, errno, strerror(errno)); g_option_context_free(context); - return 0; + return 1; }