diff options
author | Matt Johnston <matt@ucc.asn.au> | 2016-04-12 21:05:40 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-04-12 21:05:40 +0800 |
commit | 103036c5465614b817d2d4644b8e84e6173b0a1f (patch) | |
tree | 6b220a97ed9af61fc53f79f87c85a276ef343898 /svr-runopts.c | |
parent | ac9a4c839f6cbde3ca8226d79eca36a497620594 (diff) |
Add manpage and log for forced_command
Diffstat (limited to 'svr-runopts.c')
-rw-r--r-- | svr-runopts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svr-runopts.c b/svr-runopts.c index 8d1fa6b..edf0416 100644 --- a/svr-runopts.c +++ b/svr-runopts.c @@ -351,6 +351,10 @@ void svr_getopts(int argc, char ** argv) { } 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) { |