Skip to content

Commit

Permalink
chore: 完善启动脚本中判断是否已启动的逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
lvsi committed Jan 8, 2022
1 parent 55a5f8f commit 495a0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Prevent start repeatedly
containerCount=0
for file in $(docker container ps -a -q)
for file in $(docker container ls -f name=esupdaterContainer -q)
do
((containerCount++))
done
Expand Down

0 comments on commit 495a0bf

Please sign in to comment.