summaryrefslogtreecommitdiff
path: root/hscript/meta.cc
diff options
context:
space:
mode:
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 e0c2b52..e419cde 100644
--- a/hscript/meta.cc
+++ b/hscript/meta.cc
@@ -95,7 +95,7 @@ bool Hostname::execute() const {
std::cout << "hostname " << actual << std::endl;
}
#ifdef HAS_INSTALL_ENV
- else if(script->options().test(Image)) {
+ else if(script->options().test(ImageOnly)) {
/* no-op; we don't want to set the image builder's hostname */
} else {
if(sethostname(actual.c_str(), actual.size()) == -1) {