Another method to "unset" a configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user