[SCM] CTDB repository - branch master updated - 788d38812d73729f11d12e9812b16092c0ae4123

Andrew Tridgell tridge at samba.org
Wed May 14 12:05:58 GMT 2008


The branch, master has been updated
       via  788d38812d73729f11d12e9812b16092c0ae4123 (commit)
      from  e3cdb8f2be6a44ec877efcd75c7297edb008a80b (commit)

http://gitweb.samba.org/?p=tridge/ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 788d38812d73729f11d12e9812b16092c0ae4123
Author: Andrew Tridgell <tridge at samba.org>
Date:   Wed May 14 22:05:09 2008 +1000

    put the return in the right place
    
    We were refusing the 'startrecovery' event

-----------------------------------------------------------------------

Summary of changes:
 server/eventscript.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/server/eventscript.c b/server/eventscript.c
index f8a5077..0a60901 100644
--- a/server/eventscript.c
+++ b/server/eventscript.c
@@ -73,8 +73,8 @@ static int ctdb_event_script_v(struct ctdb_context *ctdb, const char *fmt, va_li
 		if (i == ARRAY_SIZE(allowed_scripts)) {
 			DEBUG(0,("Refusing to run event scripts with option '%s' while in recovery\n",
 				 options));
+			return -1;
 		}
-		return -1;
 	}
 
 	if (setpgid(0,0) != 0) {


-- 
CTDB repository


More information about the samba-cvs mailing list