mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 03:38:51 +00:00
fix bugs, get rid of confusing docker error message
This commit is contained in:
parent
0ba2258d5c
commit
5c89e16d18
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue