Changing eraseDeviceMDSuperblock call in software RAID creation

This commit is contained in:
Caio Carvalho 2018-08-08 16:44:46 -03:00
parent fed87159da
commit 51d295ca5d
1 changed files with 1 additions and 2 deletions

View File

@ -387,8 +387,7 @@ bool SoftwareRAID::createSoftwareRAID(Report &report,
args << QStringLiteral("--raid-devices=") + QString::number(devicePathList.size());
for (const QString path : qAsConst(devicePathList)) {
if (!eraseDeviceMDSuperblock(path))
return false;
eraseDeviceMDSuperblock(path);
args << path;
}