[lint] FIX SC162: use read -r
This commit is contained in:
parent
8630959003
commit
9a33c847a0
1 changed files with 1 additions and 1 deletions
|
@ -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;;
|
||||||
|
|
Loading…
Reference in a new issue