cbowlby/resource-agents — comment on commit 0627b3d660a2eff19e9038304555eef572b7794c
File: heartbeat/dhcpd line 412
By fghaas:

Whoa, _no!_ You can't assume you're _cleanly_ stopped just because you're currently not running. You can only return early here if the exit from `monitor` is (specifically) `$OCF_NOT_RUNNING`, for any of the `$OCF_ERR_` conditions you _have_ to properly clean up the mess.