Skip to content

Commit 92f5612

Browse files
committed
Fixed container exit immediately after restart.
1 parent 07f9aeb commit 92f5612

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

run.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
error() { echo -e "\e[91m$1\e[m"; exit 0; }
66
success() { echo -e "\e[92m$1\e[m"; }
77

8-
if [ "$TOKEN" == "FALSE" ] || [ "$CODE" == "FALSE" ] || [ -f /setup_done ]; then
8+
if [ -f /setup_done ]; then
9+
tail -f /dev/null
10+
fi
11+
12+
if [ "$TOKEN" == "FALSE" ] || [ "$CODE" == "FALSE" ]; then
913
exit 0
1014
fi
1115

0 commit comments

Comments
 (0)