From 858c473813ac9e9433cb80df9724cc5f268736f9 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Sat, 29 Jun 2019 19:55:58 +0200 Subject: [PATCH] prevent torrent loop --- home.admin/50torrentHDD.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/home.admin/50torrentHDD.sh b/home.admin/50torrentHDD.sh index f4acd24..c6bf2a6 100755 --- a/home.admin/50torrentHDD.sh +++ b/home.admin/50torrentHDD.sh @@ -369,6 +369,7 @@ if [ ${torrentError} -gt 0 ]; then case $response in 1) sudo rm -rf ${targetDir}; sudo rm -rf ${sessionDir} ;; esac + sudo sed -i "s/^state=.*/state=repair/g" /home/admin/raspiblitz.info ./00raspiblitz.sh exit 1;