Skip to content

Commit

Permalink
Allow inetd with non-syslog
Browse files Browse the repository at this point in the history
An inetd-alike should be able to distinguish stdout and stderr, so
it's a valid configuration.

Fixes #218 on github
  • Loading branch information
mkj committed Dec 11, 2023
1 parent db26b79 commit 383cc8c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/svr-runopts.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,18 +443,6 @@ void svr_getopts(int argc, char ** argv) {
}
}

#if INETD_MODE
if (svr_opts.inetdmode && (
opts.usingsyslog == 0
#if DEBUG_TRACE
|| debug_trace
#endif
)) {
/* log output goes to stderr which would get sent over the inetd network socket */
dropbear_exit("Dropbear inetd mode is incompatible with debug -v or non-syslog");
}
#endif

if (svr_opts.multiauthmethod && svr_opts.noauthpass) {
dropbear_exit("-t and -s are incompatible");
}
Expand Down

0 comments on commit 383cc8c

Please sign in to comment.