diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index f521d8db1..9c74c21c2 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -86,7 +86,7 @@ function check_path () { cp "$file" /tmpfile # Loop through each line of the input file - while read line + while read -r line do # Check if the line contains a txt file if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then