summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 7fa676651e..303fd32f3b 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -218,7 +218,7 @@ elif opts.partitions_only:
eadb = True
if opts.use_xattrs == "yes":
eadb = False
-elif opts.use_xattrs == "auto" and lp.get("posix:eadb") is None:
+elif opts.use_xattrs == "auto" and not lp.get("posix:eadb"):
file = tempfile.NamedTemporaryFile()
try:
samba.ntacls.setntacl(lp, file.name,