git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4722f8
)
If ctdbd was started with the --socket option then we also set the CTDB_SOCKET variab...
author
root
<root@test1n1.VSOFS1.COM>
Mon, 8 Dec 2008 06:29:17 +0000
(17:29 +1100)
committer
root
<root@test1n1.VSOFS1.COM>
Mon, 8 Dec 2008 06:29:17 +0000
(17:29 +1100)
(This used to be ctdb commit
7b41b518c3ffebf1712445a8c6242509dc798003
)
ctdb/common/cmdline.c
patch
|
blob
|
history
diff --git
a/ctdb/common/cmdline.c
b/ctdb/common/cmdline.c
index ea81fafe47cf29986ed8f6c1f0ec568da6ec67c8..2136bf637b563e21bf93aa182eb50c0ec5a7c387 100644
(file)
--- a/
ctdb/common/cmdline.c
+++ b/
ctdb/common/cmdline.c
@@
-82,6
+82,7
@@
struct ctdb_context *ctdb_cmdline_init(struct event_context *ev)
/* command line specified a socket name */
if (ctdb_cmdline.socketname != NULL) {
+ setenv("CTDB_SOCKET", ctdb_cmdline.socketname, 1);
ret = ctdb_set_socketname(ctdb, ctdb_cmdline.socketname);
if (ret == -1) {
printf("ctdb_set_socketname failed - %s\n",