summaryrefslogtreecommitdiffstats
path: root/source4/setup/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/upgrade')
-rwxr-xr-xsource4/setup/upgrade10
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/setup/upgrade b/source4/setup/upgrade
index fed09f2a4e5..22090b8cc67 100755
--- a/source4/setup/upgrade
+++ b/source4/setup/upgrade
@@ -81,8 +81,10 @@ message("Provisioning\n");
var subobj = upgrade_provision(samba3);
provision(subobj, message, options.blank);
-ok = upgrade(subobj,samba3,message);
-assert(ok);
-
-message("All OK\n");
+var ret = upgrade(subobj,samba3,message);
+if (ret > 0) {
+ message("Failed to import %d entries\n", ret);
+} else {
+ message("All OK\n");
+}
return 0;