diff options
Diffstat (limited to 'hscript')
-rw-r--r-- | hscript/disk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc index 217dbcb..d30778d 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -72,7 +72,7 @@ bool Mount::validate(ScriptOptions options) const { * already exist. However, we must take in to account that block devices * may not yet exist during the script validation phase. This check may * need to happen in Script::validate like the Uniqueness tests. */ - return(access(this->mountpoint().c_str(), F_OK)); + return(access(this->device().c_str(), F_OK)); } bool Mount::execute(ScriptOptions) const { |