From d7697c0d0f6bc3a993ef7717b8b4d0930ef15aa6 Mon Sep 17 00:00:00 2001 From: Carlos Nihelton Date: Thu, 16 Jun 2022 17:29:44 -0300 Subject: [PATCH] Without the timeout another kill is necessary otherwise the process could stay running if the first `exit 1` after its start was taken. --- scripts/runtests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/runtests.sh b/scripts/runtests.sh index 982f4743..1e9e4faf 100755 --- a/scripts/runtests.sh +++ b/scripts/runtests.sh @@ -242,6 +242,7 @@ if [ "${RELEASE%.*}" -ge 20 ]; then done if [ $next_time -eq 0 ]; then echo "Timeout reached before Subiquity TCP socket started listening" + kill $subiquity_pid || true exit 1 fi loopback_failed=0