Browse Source

remove empty else blocks

master
Christian Rotzoll 6 years ago
parent
commit
890b9bfdef
  1. 10
      home.admin/_background.sh

10
home.admin/_background.sh

@ -239,11 +239,7 @@ do
if [ "${baseSeeding}" == "0" ] || [ "${updateSeeding}" == "0" ]; then if [ "${baseSeeding}" == "0" ] || [ "${updateSeeding}" == "0" ]; then
echo "---> STARTING Backup Torrent Seeding" echo "---> STARTING Backup Torrent Seeding"
sudo -u admin /home/admin/50torrentHDD.sh backup-torrent-hosting sudo -u admin /home/admin/50torrentHDD.sh backup-torrent-hosting
else
#echo "Backup Torrent Seeding - already running"
fi fi
else
#echo "Backup Torrent Seeding is OFF"
fi fi
fi fi
@ -265,11 +261,7 @@ do
if [ "${baseSeeding}" == "1" ] || [ "${updateSeeding}" == "1" ]; then if [ "${baseSeeding}" == "1" ] || [ "${updateSeeding}" == "1" ]; then
echo "---> STOPPING Backup Torrent Seeding" echo "---> STOPPING Backup Torrent Seeding"
sudo -u admin /home/admin/50torrentHDD.sh stop sudo -u admin /home/admin/50torrentHDD.sh stop
else
#echo "No Backup Torrent Seeding - already stopped"
fi fi
else
#echo "Backup Torrent Seeding is OFF"
fi fi
fi fi
@ -279,8 +271,6 @@ do
# TODO: When auto-unlock is ON --> consider implementing restart (this sometimes help) # TODO: When auto-unlock is ON --> consider implementing restart (this sometimes help)
fi fi
else
#echo "LND was never in sync since since started (could be multiple reasons - dont act)"
fi fi
fi fi

Loading…
Cancel
Save