system_setup: fix a small bug in api calling

This commit is contained in:
Jinming Wu, Patrick 2021-08-10 15:26:07 +08:00 committed by Jean-Baptiste Lallement
parent 90bb156141
commit 55fdfc1df0
1 changed files with 2 additions and 1 deletions

View File

@ -28,11 +28,12 @@ class SystemSetupServer(SubiquityServer):
"Locale",
"Identity",
"WSLConfiguration1",
"WSLConfiguration2",
]
def __init__(self, opts, block_log_dir):
self.is_reconfig = opts.reconfigure
if self.is_reconfig:
if self.is_reconfig and not opts.dry_run:
self.controllers = [
"Reporting",
"Error",