]> git.ipfire.org Git - thirdparty/util-linux.git/commit
setterm: make -msglevel 0 to work as is did earlier
authorSami Kerola <kerolasa@iki.fi>
Sun, 18 May 2014 11:31:16 +0000 (12:31 +0100)
committerSami Kerola <kerolasa@iki.fi>
Mon, 19 May 2014 21:45:39 +0000 (22:45 +0100)
commit917465831fd0a2673f4f92a07d2fcf6f0ceea43b
tree219449818c58092abe49cb4a6db60c6032317318
parent609d48534a1602ea568f218c6740ca171ec71efb
setterm: make -msglevel 0 to work as is did earlier

Commit 3393c136 caused regression.  The klogctl() logging range is 1-8,
but the value 0 is special according to setterm.1 manual page.  It turns
on loging, same way as '-msg on' option.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
bash-completion/setterm
term-utils/setterm.c