From: Michael Adam Date: Tue, 23 Feb 2010 10:00:23 +0000 (+0100) Subject: fix bug #7152: check NFS-Shares, fails with to long path-names X-Git-Tag: ctdb-1.0.114~11 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=da5fc07baa9aa806c3cba52c00fb10cf8b7f2dc5;p=sahlberg%2Fctdb.git fix bug #7152: check NFS-Shares, fails with to long path-names Thanks to Thomas Sesselmann . Michael --- diff --git a/config/events.d/60.nfs b/config/events.d/60.nfs index 2115d46e..d4037926 100755 --- 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 $?