1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

samba-tool: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2021-09-07 14:25:34 +02:00 committed by Jeremy Allison
parent ba237d9403
commit 6ebed6b505

View 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')