]> git.sesse.net Git - vlc/commitdiff
vlc_execve: use _exit in case of failure
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 29 Dec 2009 18:34:03 +0000 (20:34 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 29 Dec 2009 18:34:03 +0000 (20:34 +0200)
src/extras/libc.c

index 368f01a71c7ff7d67653cc795e9ab14b016d3ca3..115bc0934b0f8dd0e53ca99b2d170d14ca990c44 100644 (file)
@@ -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)))
                 execve (ppsz_argv[0], ppsz_argv, ppsz_env);
 
-            exit (EXIT_FAILURE);
+            _exit (EXIT_FAILURE);
         }
     }