Hi,
small fix.
-holger
# HG changeset patch
# User Holger Teutsch <[email protected]>
# Date 1295537594 -3600
# Node ID 6c07fe4b412d292ad4bc8e6178d86421250cbf81
# Parent d5a9e9512e6690a9ea510e0b62e83d94a5d7bec0
Low: ra-dev-guide: fix shell syntax in example code
diff -r d5a9e9512e66 -r 6c07fe4b412d dev-guides/ra-dev-guide.txt
--- a/dev-guides/ra-dev-guide.txt Mon Jan 03 11:45:51 2011 +0100
+++ b/dev-guides/ra-dev-guide.txt Thu Jan 20 16:33:14 2011 +0100
@@ -560,7 +560,7 @@
foobar_monitor
rc=$?
- case "$rc" in)
+ case "$rc" in
"$OCF_SUCCESS")
# Currently running. Normal, expected behavior.
ocf_log debug "Resource is currently running"
@@ -768,7 +768,7 @@
# test the resource's current state
foobar_monitor
rc=$?
- case "$rc" in)
+ case "$rc" in
"$OCF_SUCCESS")
# Running as slave. Normal, expected behavior.
ocf_log debug "Resource is currently running as Slave"
@@ -838,7 +838,7 @@
# test the resource's current state
foobar_monitor
rc=$?
- case "$rc" in)
+ case "$rc" in
"$OCF_RUNNING_MASTER")
# Running as master. Normal, expected behavior.
ocf_log debug "Resource is currently running as Master"
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/