Do not throw an error when creating unformatted partition.
This commit is contained in:
parent
66979c4464
commit
c493b78305
|
@ -49,6 +49,9 @@ bool CreateFileSystemJob::run(Report& parent)
|
|||
|
||||
Report* report = jobStarted(parent);
|
||||
|
||||
if (partition().fileSystem().type() == FileSystem::Unformatted)
|
||||
return true;
|
||||
|
||||
if (partition().fileSystem().supportCreate() == FileSystem::cmdSupportFileSystem)
|
||||
{
|
||||
if (partition().fileSystem().create(*report, partition().deviceNode()))
|
||||
|
|
Loading…
Reference in New Issue