[libcalamares] More chatty when DBus fails
This commit is contained in:
parent
5b40f17b9c
commit
f2a6736883
@ -99,6 +99,10 @@ querySolidAutoMount( QDBusConnection& dbus, AutoMountInfo& info )
|
|||||||
result = v.toBool();
|
result = v.toBool();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( !r.has_value() )
|
||||||
|
{
|
||||||
|
cDebug() << "No viable response from Solid" << r.path();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -119,6 +123,7 @@ automountDisable( bool disable )
|
|||||||
querySolidAutoMount( dbus, *info );
|
querySolidAutoMount( dbus, *info );
|
||||||
if ( info->hasSolid )
|
if ( info->hasSolid )
|
||||||
{
|
{
|
||||||
|
cDebug() << "Setting Solid automount to" << ( disable ? "disabled" : "enabled" );
|
||||||
enableSolidAutoMount( dbus, !disable );
|
enableSolidAutoMount( dbus, !disable );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user