netcmd/domain: fix a typo in message
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 5 Jun 2018 22:37:20 +0000 (10:37 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 6 Jun 2018 23:46:25 +0000 (01:46 +0200)
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/netcmd/domain.py

index 5438537ab1dd75640c0b24cf92dabc95849df1cd..6a78a6b630b359ae8d1c9b78242f737751ce1289 100644 (file)
@@ -798,7 +798,7 @@ class cmd_domain_demote(Command):
                 raise CommandError("Unable to search for servers")
 
             if (len(res) == 1):
-                raise CommandError("You are the latest server in the domain")
+                raise CommandError("You are the last server in the domain")
 
             server = None
             for e in res: