Without the timeout another kill is necessary
otherwise the process could stay running if the first `exit 1` after its start was taken.
This commit is contained in:
parent
97f0f82910
commit
d7697c0d0f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue