From cf9854013e689fa238a2deb14276e29c1a4a35f4 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 16 Oct 2023 12:08:25 +0200 Subject: cleanup --- bin/extra/confirm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/extra/confirm b/bin/extra/confirm index 116b468..630d701 100755 --- a/bin/extra/confirm +++ b/bin/extra/confirm @@ -5,8 +5,8 @@ read_char () old_stty_cfg=$(stty -g 2> /dev/null) stty raw -echo 2> /dev/null dd ibs=1 count=1 2> /dev/null - stty $old_stty_cfg 2> /dev/null + stty "$old_stty_cfg" 2> /dev/null } ->&2 printf "$1 " +>&2 printf "%s " "$1" read_char | grep -q "[yY]" -- cgit v1.2.3