summaryrefslogtreecommitdiff
path: root/hscript/meta.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-12 02:41:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-12 02:41:53 -0500
commitf6314c777b5929247633db32d48c79db8a6c58c5 (patch)
tree71d8e198a733dc80494eac903ad3c2190c09f6d6 /hscript/meta.cc
parentbd16fe70f9ffbf0bb6ae7cfd763554559f708a02 (diff)
downloadhorizon-f6314c777b5929247633db32d48c79db8a6c58c5.tar.gz
horizon-f6314c777b5929247633db32d48c79db8a6c58c5.tar.bz2
horizon-f6314c777b5929247633db32d48c79db8a6c58c5.tar.xz
horizon-f6314c777b5929247633db32d48c79db8a6c58c5.zip
hscript: Fix logic reversal
Diffstat (limited to 'hscript/meta.cc')
-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 {