git.samba.org
/
metze
/
ctdb
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Eventscript functions - catch failures in ctdb_service_start().
[metze/ctdb/wip.git]
/
config
/
functions
diff --git
a/config/functions
b/config/functions
index a7e3e539110273a2feb071d886f267b133449b8d..5dd31fe09a8883c13f53e7f6135c69b00e29f569 100755
(executable)
--- a/
config/functions
+++ b/
config/functions
@@
-706,9
+706,9
@@
ctdb_start_stop_service ()
ctdb_service_start ()
{
if [ -n "$service_start" ] ; then
- eval $service_start
+ eval $service_start
|| return $?
else
- service "$service_name" start
+ service "$service_name" start
|| return $?
fi
ctdb_counter_init
}