all repos — openbox @ 0f18d0624db0729a67276b12e6073b48889edc21

openbox fork - make it a bit more like ryudo

Check the return value for launching the startup command.

Copy/paste error?
Dana Jansens danakj@orodu.net
commit

0f18d0624db0729a67276b12e6073b48889edc21

parent

3991e148e2acbc3da3b9c31e2459b20a4e598a03

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/openbox.copenbox/openbox.c

@@ -576,7 +576,7 @@ ok = g_spawn_async(NULL, argv, NULL,

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);