Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

fix for small bug file/start.sh #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions files/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ fi

dovecot

dovecot_pid=$(cat /var/run/dovecot/master.pid)

while true; do
dovecot_pid=$(cat /var/run/dovecot/master.pid)
if [[ ! -d "/proc/$PID" ]]; then
if [[ ! -d "$dovecot_pid" ]]; then
echo "Dovecot process $dovecot_pid does not exist."
break
fi
Expand Down