probably contains app name as well
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
parent
1938addaa8
commit
f82cc2aeda
@ -52,7 +52,7 @@ int obsw::obsw() {
|
|||||||
bootDelayHandling();
|
bootDelayHandling();
|
||||||
|
|
||||||
bool initWatchFunction = false;
|
bool initWatchFunction = false;
|
||||||
if (std::filesystem::current_path() == "/usr/bin") {
|
if (std::filesystem::current_path().string().find("/usr/bin") != std::string::npos) {
|
||||||
initWatchFunction = true;
|
initWatchFunction = true;
|
||||||
}
|
}
|
||||||
ReturnValue_t result = WATCHDOG_HANDLER.initialize(initWatchFunction);
|
ReturnValue_t result = WATCHDOG_HANDLER.initialize(initWatchFunction);
|
||||||
|
Loading…
Reference in New Issue
Block a user