Skip to content

Commit

Permalink
Minor repair
Browse files Browse the repository at this point in the history
  • Loading branch information
loyess committed Mar 11, 2024
1 parent 62e3514 commit 2fd2322
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ _check_running() {
fi

read PID < $PID_FILE
if [ -z "$PID" ]; then
return 2
fi

if [ -d "/proc/$PID" ]; then
return 0
else
Expand Down

0 comments on commit 2fd2322

Please sign in to comment.