chore use std::getenv Not c style getenv

idea from: https://github.com/debauchee/barrier/pull/847/
This commit is contained in:
sithlord48
2025-06-11 23:33:25 -04:00
committed by Nick Bolton
parent c2a658256e
commit 8170dd4e99
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ int execSelfNonDaemonized()
bool alreadyDaemonized()
{
return getenv("_DESKFLOW_DAEMONIZED") != nullptr;
return std::getenv("_DESKFLOW_DAEMONIZED") != nullptr;
}
#endif