Added OBSW Watchdog #67
@ -451,7 +451,7 @@ void CoreController::initPrint() {
|
||||
TcpTmTcBridge::DEFAULT_SERVER_PORT << std::endl;
|
||||
#endif
|
||||
|
||||
if(watchdogFifoFd != 0) {
|
||||
if(watchdogFifoFd > 0) {
|
||||
sif::info << "Opened watchdog FIFO successfully.." << std::endl;
|
||||
}
|
||||
#endif
|
||||
|
@ -14,6 +14,7 @@ int main() {
|
||||
}
|
||||
catch(const std::runtime_error& e) {
|
||||
std::cerr << "eive-watchdog: Run time exception " << e.what() << std::endl;
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user