From: Dana Jansens Date: Sat, 15 Oct 2011 19:37:58 +0000 (-0400) Subject: Check the return value for launching the startup command. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=2104406f3c8753164745c6f064034925b55d7b0d;p=dana%2Fopenbox.git Check the return value for launching the startup command. Copy/paste error? --- diff --git a/openbox/openbox.c b/openbox/openbox.c index 832deb04..8ffe11a3 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -579,7 +579,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);