Skip to content

Commit

Permalink
Merge branch 'jb52757' into 'master'
Browse files Browse the repository at this point in the history
[sensorfw] Move sensord.sock to /run. JB#52757

See merge request mer-core/sensorfw!59
  • Loading branch information
mlehtima committed Jan 21, 2021
2 parents 693a329 + 9d0b285 commit afb9806
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/sensormanager.cpp
Expand Up @@ -169,7 +169,7 @@ SensorManager::SensorManager()
deviation(0)
{
QString pluginPath;
const char* SOCKET_NAME = "/var/run/sensord.sock";
const char* SOCKET_NAME = "/run/sensord.sock";
QByteArray env = qgetenv("SENSORFW_SOCKET_PATH");
if (!env.isEmpty()) {
env += SOCKET_NAME;
Expand Down
2 changes: 1 addition & 1 deletion qt-api/socketreader.cpp
Expand Up @@ -50,7 +50,7 @@ bool SocketReader::initiateConnection(int sessionId)
}

socket_ = new QLocalSocket(this);
const char* SOCKET_NAME = "/var/run/sensord.sock";
const char* SOCKET_NAME = "/run/sensord.sock";
QByteArray env = qgetenv("SENSORFW_SOCKET_PATH");
if (!env.isEmpty()) {
env += SOCKET_NAME;
Expand Down

0 comments on commit afb9806

Please sign in to comment.