diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-14 08:37:28 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-14 08:37:28 -0500 |
commit | e23831df4386ebccd89e768f543533e3364b5333 (patch) | |
tree | 254feb52ff4099a662c4227bd369ae81b3616304 /hscript | |
parent | bd747f7238c3d8b5e05570836f7d78a9ccfc90a8 (diff) | |
download | horizon-e23831df4386ebccd89e768f543533e3364b5333.tar.gz horizon-e23831df4386ebccd89e768f543533e3364b5333.tar.bz2 horizon-e23831df4386ebccd89e768f543533e3364b5333.tar.xz horizon-e23831df4386ebccd89e768f543533e3364b5333.zip |
hscript: SSID validation is not a fatal error
Diffstat (limited to 'hscript')
-rw-r--r-- | hscript/script.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hscript/script.cc b/hscript/script.cc index 444b6c0..29e0118 100644 --- a/hscript/script.cc +++ b/hscript/script.cc @@ -392,9 +392,8 @@ bool Script::validate() const { /* Runner.Validate.network.netssid */ for(auto &ssid : this->internal->ssids) { - if(!ssid->validate(this->opts)) { - failures++; - } + ssid->validate(this->opts); + /* Failure is not fatal per spec. */ } if(this->internal->repos.size() == 0) { |