diff options
author | Ronnie Sahlberg <sahlberg@ronnie> | 2007-11-16 13:37:27 +1100 |
---|---|---|
committer | Ronnie Sahlberg <sahlberg@ronnie> | 2007-11-16 13:37:27 +1100 |
commit | b09d3de7596054689cb18fdbd642ced63059e075 (patch) | |
tree | 3e3646aa95d713ff0270b7f03e62099133e1a4de /ctdb | |
parent | 9f4b0dab03d832407e6d573c10c2645bd25b335d (diff) | |
download | samba-b09d3de7596054689cb18fdbd642ced63059e075.tar.gz samba-b09d3de7596054689cb18fdbd642ced63059e075.tar.xz samba-b09d3de7596054689cb18fdbd642ced63059e075.zip |
from Christian A
when monitoring that all nfs shares are available, allow both ' ' and
'\t' characters to separate the exported directory from the options
in /etc/exports
(This used to be ctdb commit ac6cfe9de0acdcf9461068684fa890504454aae4)
Diffstat (limited to 'ctdb')
-rwxr-xr-x | ctdb/config/events.d/60.nfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/60.nfs b/ctdb/config/events.d/60.nfs index 6c04f1e303..ed9d6da63b 100755 --- a/ctdb/config/events.d/60.nfs +++ b/ctdb/config/events.d/60.nfs @@ -69,7 +69,7 @@ case $cmd in ctdb_check_rpc "NFS" 100003 3 # and that its directories are available - nfs_dirs=`grep -v '^#' < /etc/exports | cut -d' ' -f1` + nfs_dirs=$(grep -v '^#' < /etc/exports | awk {'print $1;'}) ctdb_check_directories "nfs" $nfs_dirs # check that lockd responds to rpc requests |