summaryrefslogtreecommitdiff
path: root/source4/setup/provision
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-30 02:02:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:12 -0500
commit0928f1f60595fca2cb3b563c8e75842f822181a8 (patch)
tree5734798923a9f5abbf6d52992465d51b1aae054c /source4/setup/provision
parentb30f0b0391a2b4214b24fef318b6a91865c8d14a (diff)
downloadsamba-0928f1f60595fca2cb3b563c8e75842f822181a8.tar.gz
samba-0928f1f60595fca2cb3b563c8e75842f822181a8.tar.bz2
samba-0928f1f60595fca2cb3b563c8e75842f822181a8.zip
r8857: please don't get fancy with embedded boolean statements in js
code. Especially as this is a new language for most Samba developers, it is far better to err strongly on the side of readability rather than trying to save a line of code by using fancy tricks (This used to be commit 3228644cf898cc9b3386675f40f2f7e52f69e5c0)
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-xsource4/setup/provision4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index dc542f59f0..a9bbfa6a26 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -106,8 +106,10 @@ for (r in options) {
subobj[key] = options[r];
}
+var blank = (options["blank"] != undefined);
+
message("Provisioning for %s in realm %s\n", subobj.DOMAIN, subobj.REALM);
message("Using administrator password: %s\n", subobj.ADMINPASS);
-provision(subobj, message, options["blank"] != undefined);
+provision(subobj, message, blank);
message("All OK\n");
return 0;