From fd13e00b101ac0764019d52a7fee1dcf7ec22f94 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:04:36 +0100 Subject: [PATCH] Update 99-run.sh --- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 32e7e6f65..a40558496 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -83,7 +83,7 @@ function check_path () { return 1 fi - cp "$file" "$file2" + cp "$file" /tmpfile # Loop through each line of the input file while read line @@ -107,9 +107,9 @@ function check_path () { fi fi fi - done < "$file2" - - rm "$file2" + done < /tmpfile + + rm /tmpfile }