Another method to "unset" a configuration

This commit is contained in:
Gregory Kurtzer
2021-08-20 19:40:24 -07:00
parent c88e062a62
commit 73ed7d1891

View File

@@ -38,7 +38,7 @@ func (ent *Entry) Set(val string) {
return
}
if val == "UNDEF" || val == "DELETE" || val == "UNSET" {
if val == "UNDEF" || val == "DELETE" || val == "UNSET" || val == "--" {
ent.value = ""
} else {
ent.value = val