Skip to content

Commit

Permalink
Make the stop function not go through validate() anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Loschwitz committed Nov 22, 2012
1 parent 50a3dec commit b2b4ec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions heartbeat/asterisk
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ case "$1" in
esac


# Anything except meta-data and help must pass validation
asterisk_validate || exit $?
# Anything except meta-data, help and stop must pass validation
[ "$1" != "stop" ] && asterisk_validate || exit $?

# Now that validate has passed and we can be sure to be able to read
# the config file, set convenience variables
Expand Down

0 comments on commit b2b4ec3

Please sign in to comment.