summaryrefslogtreecommitdiff
path: root/hscript/disk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/disk.cc')
-rw-r--r--hscript/disk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc
index b0608b3..049410e 100644
--- a/hscript/disk.cc
+++ b/hscript/disk.cc
@@ -792,7 +792,7 @@ bool Mount::execute() const {
#endif
/* We have to get the filesystem for the node. */
- if(script->options().test(Simulate) || script->options().test(Image)) {
+ if(script->options().test(Simulate) || script->options().test(ImageOnly)) {
fstype = "auto";
}
#ifdef HAS_INSTALL_ENV
@@ -818,7 +818,7 @@ bool Mount::execute() const {
std::cout << this->device() << " " << actual_mount << std::endl;
}
#ifdef HAS_INSTALL_ENV
- else if(script->options().test(Image)) {
+ else if(script->options().test(ImageOnly)) {
/* no-op; we don't mount during image creation (but we want fstab) */
}
else {