From 1d9d016f9a687fcfd602ce341e26eb3963c11421 Mon Sep 17 00:00:00 2001 From: Moandor Date: Wed, 16 Sep 2020 14:40:24 +0800 Subject: [PATCH] [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. --- script/check-posix-pty | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/check-posix-pty b/script/check-posix-pty index 86fa33f84..8c6d4720f 100755 --- a/script/check-posix-pty +++ b/script/check-posix-pty @@ -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 }