fix: make server status core probe POSIX-safe

This commit is contained in:
Codex
2026-06-07 02:17:11 +00:00
parent fe1b91dcbd
commit 37c8d767da
+1 -1
View File
@@ -503,7 +503,7 @@ async function probe(url: string): Promise<unknown> {
function dockerExecJson(container: string, path: string): unknown {
const url = `http://127.0.0.1:8080${path}`;
const script = [
"set -euo pipefail",
"set -eu",
"if command -v backend-core >/dev/null 2>&1; then",
` exec backend-core --fetch-json ${shellQuote(url)}`,
"fi",