Commit 7868eb4a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vlc_execve: use _exit in case of failure

parent 973bb4a5
...@@ -628,7 +628,7 @@ int __vlc_execve( vlc_object_t *p_object, int i_argc, char *const *ppsz_argv, ...@@ -628,7 +628,7 @@ int __vlc_execve( vlc_object_t *p_object, int i_argc, char *const *ppsz_argv,
&& ((psz_cwd == NULL) || (chdir (psz_cwd) == 0))) && ((psz_cwd == NULL) || (chdir (psz_cwd) == 0)))
execve (ppsz_argv[0], ppsz_argv, ppsz_env); execve (ppsz_argv[0], ppsz_argv, ppsz_env);
exit (EXIT_FAILURE); _exit (EXIT_FAILURE);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment