From 0f18d0624db0729a67276b12e6073b48889edc21 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 15 Oct 2011 15:37:58 -0400 Subject: [PATCH] Check the return value for launching the startup command. Copy/paste error? --- openbox/openbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/openbox.c b/openbox/openbox.c index a7eb6a28..fbc01fdd 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -576,7 +576,7 @@ static void run_startup_cmd(void) G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, NULL, &e); - if (!g_shell_parse_argv(startup_cmd, NULL, &argv, &e)) { + if (!ok) { g_message("Error launching startup command: %s", e->message); g_error_free(e); -- 2.44.0