summaryrefslogtreecommitdiff
path: root/source4/setup/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/upgrade')
-rwxr-xr-xsource4/setup/upgrade9
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/setup/upgrade b/source4/setup/upgrade
index 331892c3db..8dc10caa3f 100755
--- a/source4/setup/upgrade
+++ b/source4/setup/upgrade
@@ -10,6 +10,7 @@ options = GetOptions(ARGV,
"POPT_AUTOHELP",
"POPT_COMMON_SAMBA",
"POPT_COMMON_VERSION",
+ 'verify',
'targetdir=s',
'quiet', 'blank');
@@ -92,4 +93,10 @@ if (ret > 0) {
} else {
message("All OK\n");
}
-return 0;
+
+if (options.verify != undefined) {
+ message("Verifying...\n");
+ ret = upgrade_verify(subobj, samba3,paths,message);
+}
+
+return ret;