diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-14 15:01:37 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-14 15:01:37 (EDT) |
commit | e896f1bd0de35a4c2893f8d7b68028ae6f1c7d23 (patch) | |
tree | 900ba669d4791bd0b22ba5b4e6fcabb0f074c005 /src/control.sh | |
parent | 4d4570f81329f3e99cf0ce1b8ed61d5b9cb39026 (diff) |
Make redirected FDs explicit
Diffstat (limited to 'src/control.sh')
-rw-r--r-- | src/control.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control.sh b/src/control.sh index 68ef257..29ad6f8 100644 --- a/src/control.sh +++ b/src/control.sh @@ -75,7 +75,7 @@ parse_control() return 0 fi fi - IFS=': ' read name value <<-EOF + IFS=': ' read name value 0<<-EOF ${line} EOF if [ -z "${name}" ]; then @@ -119,7 +119,7 @@ parse_control() value="${value}${LF}${line# }" ;; esac - done <<-EOF + done 0<<-EOF $(cat -- "${file}") EOF |