Use stderr

This commit is contained in:
Santiago Lo Coco 2022-01-19 18:01:17 -03:00
parent 267a653bf2
commit 3b6b3c20f1
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ usePlainText() {
printf "$2\n"
if [ $inputbox = true ]; then
read -r readVar
printf "$readVar"
printf "$readVar" 1>&2
elif [ $yesnobox = true ]; then
printf "[y/n] "
read -n 1 -r readVar
@ -121,7 +121,7 @@ usePlainTextMenu() {
((i++))
done
read -n 1 -r readVar
echo "$readVar"
printf "$readVar" 1>&2
}
getLastArgument() {