Permalink
Browse files

Check the return value for launching the startup command.

Copy/paste error?
  • Loading branch information...
1 parent 3991e14 commit 0f18d0624db0729a67276b12e6073b48889edc21 @danakj danakj committed Oct 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 openbox/openbox.c
View
@@ -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);

0 comments on commit 0f18d06

Please sign in to comment.