git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctdb-scripts: Quote some variable expansions
[samba.git]
/
ctdb
/
config
/
ctdbd_wrapper
diff --git
a/ctdb/config/ctdbd_wrapper
b/ctdb/config/ctdbd_wrapper
index c007409cd4afe3cb798d490d791bd386c82c6312..caeb81a9e748e5c2076eed43e75a2082f51e00b1 100755
(executable)
--- a/
ctdb/config/ctdbd_wrapper
+++ b/
ctdb/config/ctdbd_wrapper
@@
-214,7
+214,8
@@
start()
ulimit -n $CTDB_MAX_OPEN_FILES
fi
- mkdir -p $(dirname "$pidfile")
+ _d=$(dirname "$pidfile")
+ mkdir -p "$_d"
if [ -n "$CTDB_VALGRIND" -a "$CTDB_VALGRIND" != "no" ] ; then
if [ "$CTDB_VALGRIND" = "yes" ] ; then