summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-27 15:49:18 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-27 15:49:18 +0100
commitbd6c133e506fdb5dee13e0a144ef99c6d452be42 (patch)
tree77e342a3186a75e44cf5a1236495e80fd7d5c37b
parentdbb8989e05ac3189a5eca11fa40d572388ea02fc (diff)
downloadsamba-bd6c133e506fdb5dee13e0a144ef99c6d452be42.tar.gz
samba-bd6c133e506fdb5dee13e0a144ef99c6d452be42.tar.bz2
samba-bd6c133e506fdb5dee13e0a144ef99c6d452be42.zip
s4:upgrade_from_s3 - Fix message outputs
The quiet parameter was interpreted in the reverse manner.
-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: