Quoting Lars Marowsky-Bree <[EMAIL PROTECTED]>:

On 2007-04-18T16:22:53, [EMAIL PROTECTED] wrote:

Attached. Was meant to send it first time round. doh. Patch is against
last version you sent me. For Alan's benefit, new verbatim version
attached (0.11)

Thanks! I merged it and pushed it out to the dev repository.

During testing, a bug has come up...

Attached diff and source for new 0.12 version.

Yan

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

--- eDir88-0.11	2007-04-19 07:48:59.000000000 +0100
+++ eDir88-0.12	2007-04-18 17:32:21.000000000 +0100
@@ -62,7 +62,7 @@
 cat <<-EOFB
 <?xml version="1.0"?>
 <!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
-<resource-agent name="eDir88" version="0.11">
+<resource-agent name="eDir88" version="0.12">
 <version>1.0</version>
 
 <longdesc lang="en">
@@ -338,7 +338,7 @@
             rc=$OCF_ERR_ARGS
         fi
     fi
-    if [ $VALID -ne $OCF_SUCCESS ] ; then
+    if [ $rc -ne $OCF_SUCCESS ] ; then
         ocf_log err "Invalid environment"
     fi
     return $rc

Attachment: eDir88-0.12
Description: Bourne shell script

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to