summaryrefslogtreecommitdiffstats
path: root/bash-completion/setterm
diff options
context:
space:
mode:
authorSami Kerola2014-05-18 13:31:16 +0200
committerSami Kerola2014-05-19 23:45:39 +0200
commit917465831fd0a2673f4f92a07d2fcf6f0ceea43b (patch)
tree219449818c58092abe49cb4a6db60c6032317318 /bash-completion/setterm
parentsetterm: remove devfs and /dev/vcsa0 support (diff)
downloadkernel-qcow2-util-linux-917465831fd0a2673f4f92a07d2fcf6f0ceea43b.tar.gz
kernel-qcow2-util-linux-917465831fd0a2673f4f92a07d2fcf6f0ceea43b.tar.xz
kernel-qcow2-util-linux-917465831fd0a2673f4f92a07d2fcf6f0ceea43b.zip
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>
Diffstat (limited to 'bash-completion/setterm')
-rw-r--r--bash-completion/setterm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion/setterm b/bash-completion/setterm
index dc6b86032..6ddc2c61b 100644
--- a/bash-completion/setterm
+++ b/bash-completion/setterm
@@ -51,7 +51,7 @@ _setterm_module()
return 0
;;
'--msglevel')
- COMPREPLY=( $(compgen -W "{1..8}" -- $cur) )
+ COMPREPLY=( $(compgen -W "{0..8}" -- $cur) )
return 0
;;
'--powersave')