mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 15:47:46 +00:00
[continuous-integration] use sudo to kill daemon (#5533)
This makes kill commands in pty checks run with sudo. Otherwise ot-daemon won't be killed and has to exit by itself, which makes posix-pty-daemon fail sometimes.
This commit is contained in:
@@ -41,9 +41,9 @@ at_exit()
|
||||
EXIT_CODE=$?
|
||||
|
||||
sudo killall expect || true
|
||||
killall ot-ctl || true
|
||||
killall ot-daemon || true
|
||||
killall socat || true
|
||||
sudo killall ot-ctl || true
|
||||
sudo killall ot-daemon || true
|
||||
sudo killall socat || true
|
||||
|
||||
exit $EXIT_CODE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user