Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
4cb95ab3
Commit
4cb95ab3
authored
May 01, 2006
by
Niels Möller
Browse files
(main): Fixed handling of stderr, with --no-syslog.
Rev: src/lshd.c:1.173
parent
d5380e4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lshd.c
View file @
4cb95ab3
...
...
@@ -1202,9 +1202,9 @@ main(int argc, char **argv)
#else
/* !HAVE_SYSLOG */
werror
(
"lshd: No syslog. Further messages will be directed to /dev/null.
\n
"
);
#endif
/* !HAVE_SYSLOG */
if
(
!
daemon_dup_null
(
STDERR_FILENO
))
return
EXIT_FAILURE
;
}
else
if
(
!
daemon_dup_null
(
STDERR_FILENO
))
return
EXIT_FAILURE
;
if
(
mode
!=
DAEMON_INETD
)
{
...
...
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