get status info from script

This commit is contained in:
Christian Rotzoll 2019-04-11 23:40:21 +01:00
parent 61b53f4244
commit 2561b2d70b

View file

@ -273,7 +273,7 @@ fi
# STATUS SINALING: Backup Torrent Seeding
torrentBaseStatus="•"
torrentUpdateStatus="•"
sudo /home/admin/50torrentHDD.sh backup-torrent-hosting-status | source /dev/stdin
source <(/home/admin/50torrentHDD.sh backup-torrent-hosting-status)
if [ "${baseComplete}" == "1" ]; then
torrentBaseStatus="↑"
elif [ "${baseSeeding}" == "1" ]; then