summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-08-14 16:57:49 +0400
committerMatthieu Patou <mat@matws.net>2010-08-19 15:59:05 +0400
commited51bf5f68b77f97b00b30e1a6be3773841299b6 (patch)
tree6dd14ab6ece68e020a4dab5966e03d73357ae92d
parenta5653bcf837f6941fd26d233fbba15976fb0897e (diff)
downloadsamba-ed51bf5f68b77f97b00b30e1a6be3773841299b6.tar.gz
samba-ed51bf5f68b77f97b00b30e1a6be3773841299b6.tar.bz2
samba-ed51bf5f68b77f97b00b30e1a6be3773841299b6.zip
s4 upgradeprovision: exit with a non null return code so that it can be trapped in blackbox tests
-rwxr-xr-xsource4/scripting/bin/upgradeprovision1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index 857b0b3a51..90586ded64 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -1749,3 +1749,4 @@ if __name__ == '__main__':
if opts.debugall or opts.debugchange:
(typ, val, tb) = sys.exc_info()
traceback.print_exception(typ, val, tb)
+ sys.exit(1)