mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-08-04 03:23:36 +02:00
Merge remote-tracking branch 'origin/less-snapd-warnings'
This commit is contained in:
commit
be1bc16479
@ -52,17 +52,17 @@ bool SnapdControl::available() const
|
|||||||
{
|
{
|
||||||
QFileInfo fileInfo(m_snapdSocketPath);
|
QFileInfo fileInfo(m_snapdSocketPath);
|
||||||
if (!fileInfo.exists()) {
|
if (!fileInfo.exists()) {
|
||||||
qCWarning(dcSnapd()) << "The socket descriptor" << m_snapdSocketPath << "does not exist";
|
qCDebug(dcSnapd()) << "The socket descriptor" << m_snapdSocketPath << "does not exist";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fileInfo.isReadable()) {
|
if (!fileInfo.isReadable()) {
|
||||||
qCWarning(dcSnapd()) << "The socket descriptor" << m_snapdSocketPath << "is not readable";
|
qCDebug(dcSnapd()) << "The socket descriptor" << m_snapdSocketPath << "is not readable";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fileInfo.isWritable()) {
|
if (!fileInfo.isWritable()) {
|
||||||
qCWarning(dcSnapd()) << "The socket descriptor" << m_snapdSocketPath << "is not writable";
|
qCDebug(dcSnapd()) << "The socket descriptor" << m_snapdSocketPath << "is not writable";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user