1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-07 09:49:30 +03:00

samba-tool domain: Run in interactive mode if no args are supplied

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15363

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2023-04-26 10:31:51 +12:00
committed by Andrew Bartlett
parent f573177c35
commit f1281b80c1

View File

@ -189,7 +189,7 @@ class cmd_domain_provision(Command):
if suggested_forwarder is None:
suggested_forwarder = "none"
if len(self.raw_argv) == 1:
if not self.raw_argv:
interactive = True
if interactive: