git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d7d53b
)
ctdb-scripts: Don't load CTDB configuration in onnode
author
Martin Schwenke
<martin@meltin.net>
Thu, 5 Apr 2018 06:19:23 +0000
(16:19 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Sat, 12 May 2018 04:11:17 +0000
(06:11 +0200)
onnode does not use any configuration options.
Drop sourcing of functions file since the only function used was
loadconfig().
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/onnode
patch
|
blob
|
history
diff --git
a/ctdb/tools/onnode
b/ctdb/tools/onnode
index 6104d615694e3432764872f0eb1426ba919b4006..f94423251a83e50c4381a8bcb5b14f46d47d152d 100755
(executable)
--- a/
ctdb/tools/onnode
+++ b/
ctdb/tools/onnode
@@
-70,10
+70,6
@@
if [ -z "$CTDB_BASE" ] ; then
CTDB_BASE="/usr/local/etc/ctdb"
fi
-. "${CTDB_BASE}/functions"
-
-loadconfig
-
parse_options ()
{
# $POSIXLY_CORRECT means that the command passed to onnode can