diff --git a/src/modules/partition/PMUtils.cpp b/src/modules/partition/PMUtils.cpp index 436f6c853..a9f79e858 100644 --- a/src/modules/partition/PMUtils.cpp +++ b/src/modules/partition/PMUtils.cpp @@ -20,14 +20,14 @@ // CalaPM #include +#include namespace PMUtils { bool isPartitionFreeSpace( Partition* partition ) { - // FIXME: Check FS type instead - return partition->partitionPath().isEmpty(); + return partition->fileSystem().type() == FileSystem::Unknown; } } // namespace