Skip to content

Commit

Permalink
Merge pull request #194 from ayohrling/bug/188-init_status_segfault
Browse files Browse the repository at this point in the history
188 - Webhook segfault on status
  • Loading branch information
acidprime committed Jun 24, 2015
2 parents 961fe38 + a328cf8 commit ea61beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/webhook.init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ restart() {
start
}

status() {
whstatus() {
if [ -f "${pidfile}" ]; then
<% if @osfamily == 'Debian' -%>
status_of_proc -p $pidfile $webhook
Expand Down Expand Up @@ -81,7 +81,7 @@ case "$1" in
restart
;;
status)
status
whstatus
;;
*)
echo $"Usage: $0 {start|stop|status|restart}"
Expand Down

0 comments on commit ea61beb

Please sign in to comment.