From 28de9f52209bec989b9656998697b1f99ffe75da Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Wed, 8 Jun 2022 16:20:17 +0200 Subject: [PATCH] addnil to remove option --- internal/pkg/node/methods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/node/methods.go b/internal/pkg/node/methods.go index 322785ed..ab65b487 100644 --- a/internal/pkg/node/methods.go +++ b/internal/pkg/node/methods.go @@ -57,7 +57,7 @@ func (ent *Entry) Set(val string) { return } - if val == "UNDEF" || val == "DELETE" || val == "UNSET" || val == "--" { + if val == "UNDEF" || val == "DELETE" || val == "UNSET" || val == "--" || val == "nil" { wwlog.Debug("Removing value for %v\n", *ent) ent.value = []string{""} } else {