From f6314c777b5929247633db32d48c79db8a6c58c5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 12 Oct 2019 02:41:53 -0500 Subject: hscript: Fix logic reversal --- hscript/meta.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hscript') diff --git a/hscript/meta.cc b/hscript/meta.cc index 5897c8b..33a9326 100644 --- a/hscript/meta.cc +++ b/hscript/meta.cc @@ -60,7 +60,7 @@ bool Hostname::validate(ScriptOptions) const { } } while(next_dot != this->_value.size()); - return any_failure; + return !any_failure; } bool Hostname::execute(ScriptOptions) const { -- cgit v1.2.3-60-g2f50