summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/bin/upgrade_from_s36
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/bin/upgrade_from_s3 b/source4/scripting/bin/upgrade_from_s3
index 03f44157c2..7e1e1fd6eb 100755
--- a/source4/scripting/bin/upgrade_from_s3
+++ b/source4/scripting/bin/upgrade_from_s3
@@ -50,14 +50,14 @@ opts, args = parser.parse_args()
def message(text):
"""Print a message if quiet is not set."""
- if opts.quiet:
+ if not opts.quiet:
print text
if len(args) < 1:
parser.print_usage()
sys.exit(1)
-message("Reading Samba3 databases and smb.conf\n")
+message("Reading Samba3 databases and smb.conf")
libdir = args[0]
if not os.path.isdir(libdir):
@@ -71,7 +71,7 @@ else:
samba3 = Samba3(libdir, smbconf)
-message("Provisioning\n")
+message("Provisioning")
setup_dir = opts.setupdir
if setup_dir is None: