mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Only close server when errno is not EINTR
This commit is contained in:
parent
68769ea0ec
commit
bc51eb37eb
@ -153,9 +153,8 @@ Server::_server_main()
|
||||
// Reboot command causes System Interrupt to stop poll(). This is not an error
|
||||
if (errno != EINTR) {
|
||||
PX4_ERR("poll() failed: %s", strerror(errno));
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
_lock();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user