summaryrefslogtreecommitdiff
path: root/hscript
diff options
context:
space:
mode:
Diffstat (limited to 'hscript')
-rw-r--r--hscript/meta.cc2
1 files changed, 1 insertions, 1 deletions
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 {