]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool: Fix a typo
authorVolker Lendecke <vl@samba.org>
Tue, 7 Sep 2021 12:25:34 +0000 (14:25 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 7 Sep 2021 18:26:33 +0000 (18:26 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/netcmd/dns.py

index e77a4de81622f4ee0ba150540c3fb0c42621eac1..c0f27808c468630354c595c62a1151002871d796 100644 (file)
@@ -1090,7 +1090,7 @@ class cmd_add_record(Command):
             if e.args[0] == werror.WERR_DNS_ERROR_NAME_DOES_NOT_EXIST:
                 raise CommandError('Zone does not exist; record could not be added. zone[%s] name[%s]' % (zone, name))
             if e.args[0] == werror.WERR_DNS_ERROR_RECORD_ALREADY_EXISTS:
-                raise CommandError('Record already exist; record could not be added. zone[%s] name[%s]' % (zone, name))
+                raise CommandError('Record already exists; record could not be added. zone[%s] name[%s]' % (zone, name))
             raise e
 
         self.outf.write('Record added successfully\n')