Check the return value for launching the startup command.
Copy/paste error?
This commit is contained in:
parent
3991e148e2
commit
0f18d0624d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue