fix: use right variable

This commit is contained in:
decentral1se 2022-01-01 21:34:07 +01:00
parent 575485ec7a
commit 84bf3ffa50
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ func EnsureDNSValueFlag(c *cli.Context) error {
}
}
if DNSName == "" {
if DNSValue == "" {
ShowSubcommandHelpAndError(c, errors.New("no record value provided"))
}