vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Dec 2 10:15:10 2012 +0200| [0c40a30a34ab188c215d43dbcbf29ef1c5b5b6ea] | committer: Rémi Denis-Courmont
libvlc: return a real error if daemonizing failed (If daemonizing succeeded, daemon() will call exit(0) internally.) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c40a30a34ab188c215d43dbcbf29ef1c5b5b6ea --- src/libvlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libvlc.c b/src/libvlc.c index 8e342f9..fbb61e4 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -244,7 +244,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, { msg_Err( p_libvlc, "Unable to fork vlc to daemon mode" ); module_EndBank (true); - return VLC_EEXIT; + return VLC_ENOMEM; } b_daemon = true; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
