Skip to content
Snippets Groups Projects
Commit fc4a8b86 authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Temporarily allow read-only devices.

This way the KPMcore libpartedbackend scanner won't filter out Parted
devices of type UNKNOWN.
CAL-349
parent abfd1f5a
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ void
PartitionCoreModule::init()
{
CoreBackend* backend = CoreBackendManager::self()->backend();
auto devices = backend->scanDevices( true );
auto devices = backend->scanDevices( false );
// Remove the device which contains / from the list
for ( auto it = devices.begin(); it != devices.end(); )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment