.bashrc.d/20nobeep: Change '-blength' -> '--blength'
authorW. Trevor King <wking@tremily.us>
Thu, 19 Mar 2015 15:42:02 +0000 (08:42 -0700)
committerW. Trevor King <wking@tremily.us>
Thu, 19 Mar 2015 15:44:52 +0000 (08:44 -0700)
setterm from util-linux 2.25.2 uses GNU-style, double-dash long
options.  I'm not exactly sure when the change took place, but
util-linux 2.24.1 used single-dash long options.  2.25.2 also supports
the single-dash versions, but I don't need to be backward compatible
;).

src/.bashrc.d/20nobeep

index a887db63f55fd586b77772c2a18c00617e518cb1..b2a1d3e15718f1a1af36871eb804fa7bbddffff8 100644 (file)
@@ -7,5 +7,5 @@ fi
 
 # turn of terminal beeps in the console, unless connecting via SSH
 if [ -n "$TERM" ] && [ -z "$SSH_CLIENT" ]; then
-       setterm -blength 0
+       setterm --blength 0
 fi