We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fe4719 commit 14d5eb9Copy full SHA for 14d5eb9
extra/resources/Dummy
@@ -172,7 +172,7 @@ dummy_start() {
172
}
173
174
dummy_stop() {
175
- dummy_monitor
+ dummy_monitor --force
176
if [ $? -eq $OCF_SUCCESS ]; then
177
rm ${OCF_RESKEY_state}
178
fi
@@ -186,7 +186,7 @@ dummy_monitor() {
186
# That is THREE states, not just yes/no.
187
188
if [ $OCF_RESKEY_op_sleep -ne 0 ]; then
189
- if [ -f "${VERIFY_SERIALIZED_FILE}" ]; then
+ if [ "$1" = "" -a -f "${VERIFY_SERIALIZED_FILE}" ]; then
190
# two monitor ops have occurred at the same time.
191
# this is to verify a condition in the lrmd regression tests.
192
ocf_log err "$VERIFY_SERIALIZED_FILE exists already"
0 commit comments