Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Jun 13, 2020
1 parent 5b9cc2e commit 189dd90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/sbin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sleep 5
if ! ps -p $pid > /dev/null
then
echo "syslog-ng failed to start $pid is not running"
exit 99
exit $(wait ${pid})
# Do something knowing the pid exists, i.e. the process with $PID is running
fi

Expand Down

0 comments on commit 189dd90

Please sign in to comment.