[lint] FIX SC162: use read -r

This commit is contained in:
otthorn 2021-02-19 01:10:45 +01:00
parent 8630959003
commit 9a33c847a0

View file

@ -78,7 +78,7 @@ function arg_parse
function yes_or_no function yes_or_no
{ {
read -p "$* [y/N]: " ans read -pr "$* [y/N]: " ans
case "$ans" in case "$ans" in
[yY] | [yY]es ) return 0;; [yY] | [yY]es ) return 0;;
* ) echo "Aborting"; return 1;; * ) echo "Aborting"; return 1;;