Added OBSW Watchdog #67

Merged
meierj merged 20 commits from mueller/added-watchdog into develop 2021-07-31 08:51:56 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 940d4965bc - Show all commits

View File

@ -451,7 +451,7 @@ void CoreController::initPrint() {
TcpTmTcBridge::DEFAULT_SERVER_PORT << std::endl; TcpTmTcBridge::DEFAULT_SERVER_PORT << std::endl;
#endif #endif
if(watchdogFifoFd != 0) { if(watchdogFifoFd > 0) {
sif::info << "Opened watchdog FIFO successfully.." << std::endl; sif::info << "Opened watchdog FIFO successfully.." << std::endl;
} }
#endif #endif

View File

@ -14,6 +14,7 @@ int main() {
} }
catch(const std::runtime_error& e) { catch(const std::runtime_error& e) {
std::cerr << "eive-watchdog: Run time exception " << e.what() << std::endl; std::cerr << "eive-watchdog: Run time exception " << e.what() << std::endl;
return -1;
} }
return 0; return 0;
} }