fix bugs, get rid of confusing docker error message

This commit is contained in:
t3chn0m4g3 2018-09-12 14:08:13 +00:00
parent 0ba2258d5c
commit 5c89e16d18

View file

@ -33,8 +33,11 @@ if [ "$myOK" == "0" ];
then
echo "OK - Activating and downloading latest images."
systemctl stop tpot
if [ "$(docker ps -aq)" != "" ];
then
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
fi
rm -f $myLINK
ln -s /opt/tpot/etc/compose/$myEDITION $myLINK
fuPULLIMAGES