Do not throw an error when creating unformatted partition.

This commit is contained in:
Andrius Štikonas 2015-02-06 01:08:11 +00:00
parent 66979c4464
commit c493b78305
1 changed files with 3 additions and 0 deletions

View File

@ -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()))