diff --git a/src/libcalamares/partition/AutoMount.cpp b/src/libcalamares/partition/AutoMount.cpp index 3ad4bf5f8..173d66cba 100644 --- a/src/libcalamares/partition/AutoMount.cpp +++ b/src/libcalamares/partition/AutoMount.cpp @@ -99,7 +99,7 @@ querySolidAutoMount( QDBusConnection& dbus, AutoMountInfo& info ) result = v.toBool(); } } - if ( !r.has_value() ) + if ( !result.has_value() ) { cDebug() << "No viable response from Solid" << r.path(); }