small path fix

This commit is contained in:
rootzoll 2019-01-16 19:16:47 +01:00
parent 03a47dfe26
commit 6bb5067b88

View file

@ -232,7 +232,7 @@ targetPath2="${targetDir}/${updateTorrentFile}"
# check that path exists
contentPath1=$(sudo ls ${targetPath1} 2>/dev/null)
contentPath2=$(sudo ls ${targetPath1} 2>/dev/null)
contentPath2=$(sudo ls ${targetPath2} 2>/dev/null)
if [ ${#contentPath1} -eq 0 ]; then
torrentError=3
fi