Skip to content

Commit

Permalink
Low: asterisk: remove useless return statement
Browse files Browse the repository at this point in the history
By default, a function always returns the most recent exit code.
  • Loading branch information
fghaas committed Nov 10, 2011
1 parent 1568a99 commit 812f2b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion heartbeat/asterisk
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ asterisk_rx() {
unset HOME
ocf_run $OCF_RESKEY_binary -r -s $ASTRUNDIR/asterisk.ctl -x "$1"
)
return $?
}

#######################################################################
Expand Down

0 comments on commit 812f2b5

Please sign in to comment.