git.samba.org
/
rusty
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a16c2
)
functions: when checking for a directory also check whether it can be accessed.
author
Michael Adam
<obnox@samba.org>
Fri, 26 Mar 2010 15:40:00 +0000
(16:40 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 11 May 2010 09:29:45 +0000
(11:29 +0200)
Thanks to "waKKu" on irc for this improvement.
Michael
config/functions
patch
|
blob
|
history
diff --git
a/config/functions
b/config/functions
index 2c78b396f88f102c687cdb9188e63375bc77ccdb..73ae0c0fdf8751a8d74cd48f3825df9d0690799d 100755
(executable)
--- a/
config/functions
+++ b/
config/functions
@@
-162,7
+162,7
@@
ctdb_check_directories_probe() {
continue
;;
*)
- [ -d "$
d
" ] || return 1
+ [ -d "$
{d}/.
" ] || return 1
esac
done
}