git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa63f72
)
fix bug #7152: check NFS-Shares, fails with to long path-names
author
Michael Adam
<obnox@samba.org>
Tue, 23 Feb 2010 10:00:23 +0000
(11:00 +0100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 23 Feb 2010 10:08:23 +0000
(21:08 +1100)
Thanks to Thomas Sesselmann <t.sesselmann@dkfz.de> .
Michael
config/events.d/60.nfs
patch
|
blob
|
history
diff --git
a/config/events.d/60.nfs
b/config/events.d/60.nfs
index 2115d46e647d840d35715f51c81fcc16036c95e2..d4037926680f14829f180faacbf6c871a268baa0 100755
(executable)
--- a/
config/events.d/60.nfs
+++ b/
config/events.d/60.nfs
@@
-84,7
+84,7
@@
case "$1" in
# and that its directories are available
[ "$CTDB_NFS_SKIP_SHARE_CHECK" = "yes" ] || {
exportfs | grep -v '^#' | grep '^/' |
- sed -e 's/[[:space:]]
*
[^[:space:]]*$//' |
+ sed -e 's/[[:space:]]
\+
[^[:space:]]*$//' |
ctdb_check_directories
} || exit $?