Mercurial > dropbear
diff svr-runopts.c @ 1290:ee2ffa044c7e
Add manpage and log for forced_command
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 12 Apr 2016 21:05:40 +0800 |
parents | a23386821e9f |
children | 750ec4ec4cbe |
line wrap: on
line diff
--- a/svr-runopts.c Tue Apr 12 21:01:08 2016 +0800 +++ b/svr-runopts.c Tue Apr 12 21:05:40 2016 +0800 @@ -351,6 +351,10 @@ } opts.idle_timeout_secs = val; } + + if (svr_opts.forced_command) { + dropbear_log(LOG_INFO, "Forced command set to '%s'", svr_opts.forced_command); + } } static void addportandaddress(const char* spec) {