- commit
- dc8cb64c73564399f02080de2eb21a0b1b094002
- parent
- 6a079fec85ff06b03533c39bf1d0ef0dcc0f7e94
- author
- Dami <dami.etoile@gmail.com>
| M | scripts/ | 12 | ++++++++++-- |
@@ -154,7 +154,6 @@ PY
154154 XDG_RUNTIME_DIR="$runtime_directory" \155155 "$sigil" serve \156156 --config "$config_path" \157- --max-runtime-seconds 4 \158157 >"$host_log" 2>&1 &159158 host_pid=$!160159 @@ -308,7 +307,16 @@ fi
308307 grep -Fq 'another Sigil daemon or capture probe already owns this lifecycle scope' \309308 "$temp_root/live-reset.log"310309 311-wait "$host_pid"310+if ! kill -TERM "$host_pid" 2>/dev/null; then311+ printf 'Sigil exited before the appliance status proof requested shutdown\n' >&2312+ sed -n '1,160p' "$host_log" >&2313+ exit 1314+fi315+if ! wait "$host_pid"; then316+ printf 'Sigil did not shut down cleanly during the appliance status proof\n' >&2317+ sed -n '1,160p' "$host_log" >&2318+ exit 1319+fi312320 host_pid=''313321 if XDG_RUNTIME_DIR="$runtime_directory" \314322 "$sigil" capture probe \