From 95c7df2d210c1033ff8c4e2b6408def1c5037a5b Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 9 Jun 2023 12:09:12 +0200 Subject: the argument to setterm is --resize, not -resize --- share/customize-autologin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/customize-autologin.sh b/share/customize-autologin.sh index 7b7a130..5f87168 100755 --- a/share/customize-autologin.sh +++ b/share/customize-autologin.sh @@ -5,7 +5,7 @@ # This is a mmdebstrap customize hook that configures automatic root login on a # serial console. It also parses the TERM kernel cmdline and passes it as # TERM to agetty. Since serial consoles do not transmit SIGWINCH, it causes -# the shell to run setterm -resize on interactive, serial logins. +# the shell to run setterm --resize on interactive, serial logins. set -eu @@ -18,7 +18,7 @@ if test -n "${TERM-}" && test -n "${PS1-}"; then ;; /dev/tty*) # Assume that every other tty is serial and should be resized. - setterm -resize + setterm --resize ;; esac fi -- cgit v1.2.3