projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3991e14
)
Check the return value for launching the startup command.
author
Dana Jansens
<danakj@orodu.net>
Sat, 15 Oct 2011 19:37:58 +0000
(15:37 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 16 Oct 2011 22:51:52 +0000
(18:51 -0400)
Copy/paste error?
openbox/openbox.c
patch
|
blob
|
history
diff --git
a/openbox/openbox.c
b/openbox/openbox.c
index
a7eb6a2
..
fbc01fd
100644
(file)
--- 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);
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);
g_message("Error launching startup command: %s",
e->message);
g_error_free(e);