Skip to content
GitLab
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
2e664edd
Commit
2e664edd
authored
Jul 03, 2001
by
Niels Möller
Browse files
(main): Don't use syslog if the user provided an
explicit log-file option. Rev: src/lshd.c:1.117
parent
48ac2627
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lshd.c
View file @
2e664edd
...
...
@@ -719,8 +719,12 @@ int main(int argc, char **argv)
werror
(
"Disabling of core dumps failed.
\n
"
);
return
EXIT_FAILURE
;
}
if
(
options
->
daemonic
)
/* Don't use syslog if there was an explicit logfile option.
*
* FIXME: This could be done in a cleaner way without the global
* variable. */
if
(
options
->
daemonic
&&
!
logfile_flag
)
{
#if HAVE_SYSLOG
set_error_syslog
(
"lshd"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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