Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Commit 734351f

Browse files
committed
fix: First run marker file check for RPi3 dev board
1 parent d495e85 commit 734351f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/environment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Environment::Environment(QObject *parent) : QObject(parent), m_markerFileFirstRu
4545
m_yioRemote = runningOnYioRemote(rpiRevision);
4646
m_deviceType = determineDeviceType(m_os, m_yioRemote, rpiRevision);
4747

48-
if (m_yioRemote) {
48+
if (m_os == OS::Linux) {
4949
QStorageInfo storage = QStorageInfo("/");
5050
if (storage.isReadOnly()) {
5151
m_markerFileFirstRun = "/var/yio/firstrun";

0 commit comments

Comments
 (0)