git.samba.org
/
obnox
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8507303
)
ctdbd: Default value for debug_hung_script should use ETCDIR
author
Martin Schwenke
<martin@meltin.net>
Thu, 3 Jan 2013 05:02:52 +0000
(16:02 +1100)
committer
Amitay Isaacs
<amitay@gmail.com>
Tue, 8 Jan 2013 04:18:47 +0000
(15:18 +1100)
That is, it should use whatever was specified in ./configure and
should not hardcode /etc.
Signed-off-by: Martin Schwenke <martin@meltin.net>
server/ctdbd.c
patch
|
blob
|
history
diff --git
a/server/ctdbd.c
b/server/ctdbd.c
index 491b4a2ff14eb1efe5043ca5b995df6a238643f3..ad1baac62e08ad8cd181ea70e52289c8f17cce72 100644
(file)
--- a/
server/ctdbd.c
+++ b/
server/ctdbd.c
@@
-61,7
+61,7
@@
static struct {
.db_dir_persistent = VARDIR "/ctdb/persistent",
.db_dir_state = VARDIR "/ctdb/state",
.script_log_level = DEBUG_ERR,
- .debug_hung_script =
"/etc
/ctdb/debug-hung-script.sh",
+ .debug_hung_script =
ETCDIR "
/ctdb/debug-hung-script.sh",
};
int script_log_level;