From 764ef80a6299175b29f87d42630891bd70e72e73 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Sun, 4 Aug 2024 15:44:55 -0400 Subject: [PATCH] Update wgd.sh --- src/wgd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wgd.sh b/src/wgd.sh index e948cde..8aac663 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -244,7 +244,7 @@ gunicorn_start () { checkPIDExist=0 while [ $checkPIDExist -eq 0 ] do - if [ ! -f './gunicorn.pid' ]; then + if test -f './gunicorn.pid'; then checkPIDExist=1 fi sleep 2