Added OBSW Watchdog #67
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user