Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2021-03-12 09:29:49 -0500
committerMike Gerwitz <mike.gerwitz@ryansg.com>2021-03-12 09:47:38 -0500
commite7e4a61cf4e4609a735e5edf6ef8e5059152d63a (patch)
treeb6512ed23782455651a749720ad212f5ff0948fd /bin
parent2a56c75345b9fc1f53a17c36076e29bd75c8bccb (diff)
downloadtame-e7e4a61cf4e4609a735e5edf6ef8e5059152d63a.tar.gz
tame-e7e4a61cf4e4609a735e5edf6ef8e5059152d63a.tar.bz2
tame-e7e4a61cf4e4609a735e5edf6ef8e5059152d63a.zip
bin/tame: read {=>-r} where missing
While these should not be necessary in practice, there's no reason _not_ to do this.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tame4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tame b/bin/tame
index 376005b..44c54ce 100755
--- a/bin/tame
+++ b/bin/tame
@@ -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"