ftpd: stop unconditional logging to syslog. This was the only applet

which was doing it. Added option -S to enable it when desired.

function                                             old     new   delta
packed_usage                                       25647   25666     +19
ftpd_main                                           1826    1825      -1
This commit is contained in:
Denis Vlasenko
2009-03-11 15:07:44 +00:00
parent a19e64933c
commit 4221e90ae4
3 changed files with 27 additions and 16 deletions

View File

@ -1281,7 +1281,7 @@
"\n -f Force file system check" \
#define ftpd_trivial_usage \
"[-vw] [DIR]"
"[-wvS] [DIR]"
#define ftpd_full_usage "\n\n" \
"FTP server\n" \
"\n" \
@ -1291,8 +1291,9 @@
"It also can be ran from tcpsvd:\n" \
" tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n" \
"\nOptions:" \
"\n -v Log also to stderr" \
"\n -w Allow upload" \
"\n -v Log to stderr" \
"\n -S Log to syslog" \
"\n DIR Change root to this directory" \
#define ftpget_trivial_usage \