diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-16 12:08:25 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-16 12:08:25 +0200 |
commit | cf9854013e689fa238a2deb14276e29c1a4a35f4 (patch) | |
tree | eab114dcf8db6e0e6e7f08199d43908920740d19 /bin/extra/confirm | |
parent | 389f23521d2d43fd7a9117a47f5ba4ed92c4c389 (diff) |
cleanup
Diffstat (limited to 'bin/extra/confirm')
-rwxr-xr-x | bin/extra/confirm | 4 |
1 files 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]" |