summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hscript/disk.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc
index c5e1e36..0cc4c8f 100644
--- a/hscript/disk.cc
+++ b/hscript/disk.cc
@@ -675,9 +675,8 @@ bool Filesystem::execute() const {
}
if(_type == Ext2 || _type == Ext3 || _type == Ext4) {
- const std::string dev_node(
- device().substr(device().find_last_of('/') + 1));
args.push_back("-q");
+ args.push_back("-F");
}
args.push_back(_block);