Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
c1165dc9
Commit
c1165dc9
authored
Sep 12, 2005
by
dionoea
Browse files
fix daemon mode when HAVE_DAEMON is defined. fixes #347
parent
914635d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libvlc.c
View file @
c1165dc9
...
...
@@ -402,7 +402,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
if
(
config_GetInt
(
p_vlc
,
"daemon"
)
)
{
#if HAVE_DAEMON
if
(
daemon
(
0
,
0
)
!=
0
)
if
(
daemon
(
1
,
0
)
!=
0
)
{
msg_Err
(
p_vlc
,
"Unable to fork vlc to daemon mode"
);
b_exit
=
VLC_TRUE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment