diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-04-01 00:02:47 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-04-01 00:02:47 -0500 |
commit | 46c492ffad6f6de35e5e01fa1bff8a49c16fd682 (patch) | |
tree | 2cc0492b50c34fd964ed5b482c8a78a623538ac1 /hscript/script.cc | |
parent | f52594db361ee4c269bff7d303412c5521324d1d (diff) | |
download | horizon-46c492ffad6f6de35e5e01fa1bff8a49c16fd682.tar.gz horizon-46c492ffad6f6de35e5e01fa1bff8a49c16fd682.tar.bz2 horizon-46c492ffad6f6de35e5e01fa1bff8a49c16fd682.tar.xz horizon-46c492ffad6f6de35e5e01fa1bff8a49c16fd682.zip |
hscript: Rename Image flag to ImageOnly
Otherwise, this conflicts with the Horizon::Image namespace.
Diffstat (limited to 'hscript/script.cc')
-rw-r--r-- | hscript/script.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/script.cc b/hscript/script.cc index cac5f3e..626b9e8 100644 --- a/hscript/script.cc +++ b/hscript/script.cc @@ -299,7 +299,7 @@ Script *Script::load(std::istream &sstream, const ScriptOptions &opts) { if(!the_script->internal->rootpw) { MISSING_ERROR("rootpw") } - if(the_script->internal->mounts.size() == 0 && !opts.test(Image)) { + if(the_script->internal->mounts.size() == 0 && !opts.test(ImageOnly)) { MISSING_ERROR("mount") } } |