Add more args to make_ext4fs command

This commit is contained in:
Dees_Troy
2013-09-06 15:51:08 +00:00
parent 8807a1ead6
commit 5295d581a5
+4 -1
View File
@@ -1290,7 +1290,10 @@ bool TWPartition::Wipe_EXT4() {
Command += " -l ";
Command += len;
}
Command += " " + Actual_Block_Device;
if (TWFunc::Path_Exists("/file_contexts")) {
Command += " -S /file_contexts";
}
Command += " -a " + Mount_Point + " " + Actual_Block_Device;
LOGINFO("make_ext4fs command: %s\n", Command.c_str());
if (TWFunc::Exec_Cmd(Command, result) == 0) {
Current_File_System = "ext4";