mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
fix: prepare
This commit is contained in:
parent
a3b858e143
commit
112898c9b6
@ -67,13 +67,11 @@ docker_start(){
|
|||||||
|
|
||||||
for ((i=0; i<5; i++));
|
for ((i=0; i<5; i++));
|
||||||
do
|
do
|
||||||
ret=$(docker_start)
|
if docker_start; then
|
||||||
if [ "$ret" -eq 0 ];then
|
printf "Docker started successfully.\n"
|
||||||
echo "Docker started successfully."
|
|
||||||
break
|
break
|
||||||
fi
|
elif [[ $i -eq 4 ]]; then
|
||||||
if [ "$i" -eq 4 ];then
|
printf "Failed to start Docker after 5 attempts.\n"
|
||||||
echo "Failed to start Docker after 5 attempts."
|
|
||||||
docker ps -a
|
docker ps -a
|
||||||
docker logs wine
|
docker logs wine
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user