bin/tame: read {=>-r} where missing

While these should not be necessary in practice, there's no reason _not_ to
do this.
master
Mike Gerwitz 2021-03-12 09:29:49 -05:00
parent 2a56c75345
commit e7e4a61cf4
1 changed files with 2 additions and 2 deletions

View File

@ -101,11 +101,11 @@ command-runner()
}
# output lines from runner until we reach a line stating "DONE"
while read line; do
while read -r line; do
# don't parse words in the initial read because we may be
# dealing with a lot of lines
if [ "${line:0:5}" == "DONE " ]; then
read _ code _ <<< "$line"
read -r _ code _ <<< "$line"
mark-available "$base"
return "$code"