mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
fix bugs, get rid of confusing docker error message
This commit is contained in:
@ -33,8 +33,11 @@ if [ "$myOK" == "0" ];
|
|||||||
then
|
then
|
||||||
echo "OK - Activating and downloading latest images."
|
echo "OK - Activating and downloading latest images."
|
||||||
systemctl stop tpot
|
systemctl stop tpot
|
||||||
|
if [ "$(docker ps -aq)" != "" ];
|
||||||
|
then
|
||||||
docker stop $(docker ps -aq)
|
docker stop $(docker ps -aq)
|
||||||
docker rm $(docker ps -aq)
|
docker rm $(docker ps -aq)
|
||||||
|
fi
|
||||||
rm -f $myLINK
|
rm -f $myLINK
|
||||||
ln -s /opt/tpot/etc/compose/$myEDITION $myLINK
|
ln -s /opt/tpot/etc/compose/$myEDITION $myLINK
|
||||||
fuPULLIMAGES
|
fuPULLIMAGES
|
||||||
|
Reference in New Issue
Block a user