Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Preserve refused link exits through the confined DSM command double

pulse-triage[bot]dc678bfd9ddd
diff --git a/scripts/installtests/agent_upstart_teardown.py b/scripts/installtests/agent_upstart_teardown.py
index e66e076782..84f6ddf3aa 100644
--- a/scripts/installtests/agent_upstart_teardown.py
+++ b/scripts/installtests/agent_upstart_teardown.py
@@ -212,7 +212,9 @@ ln() {
race_restore_config "$target"
fi
printf 'file:link\n' >> "$EVENTS"
- builtin command ln "$@"
+ # Capture the external exit explicitly: builtin command under errexit
+ # can otherwise terminate the wrapper before production handles failure.
+ if builtin command ln "$@"; then return 0; else return $?; fi
}
mv() {
local arg