Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

fix(endpoint): fail package install on updater reconcile errors

shukieshah7671128ba347
diff --git a/packaging/macos/scripts/postinstall b/packaging/macos/scripts/postinstall
index ed875b0d..7c9decf5 100755
--- a/packaging/macos/scripts/postinstall
+++ b/packaging/macos/scripts/postinstall
@@ -40,7 +40,10 @@ if command -v launchctl >/dev/null 2>&1; then
}
restart_optional_forwarder "com.beacon.endpoint.falcon-forwarder" "/Library/LaunchDaemons/com.beacon.endpoint.falcon-forwarder.plist"
restart_optional_forwarder "com.beacon.endpoint.s3-forwarder" "/Library/LaunchDaemons/com.beacon.endpoint.s3-forwarder.plist"
- "${BEACON_BIN:-/opt/beacon/bin/beacon}" endpoint update install-daemon >/dev/null 2>&1 || true
+ "${BEACON_BIN:-/opt/beacon/bin/beacon}" endpoint update install-daemon || {
+ echo "Error: could not reconcile Beacon endpoint updater daemon" >&2
+ exit 1
+ }
fi
exit 0