mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 04:15:37 -04:00
[libcalamares] More chatty when DBus fails
This commit is contained in:
parent
5b40f17b9c
commit
f2a6736883
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue