Commit 0c40a30a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

libvlc: return a real error if daemonizing failed

(If daemonizing succeeded, daemon() will call exit(0) internally.)
parent 27416ca2
......@@ -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;
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