]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
Check the return value for launching the startup command.
[chaz/openbox] / openbox / openbox.c
index a7eb6a282fdb60c14b59e58d28d82e63536bb0d0..fbc01fdddd20739ab9ddb16b55b3ee2e87d46ad0 100644 (file)
@@ -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);
This page took 0.019393 seconds and 4 git commands to generate.