Skip to content

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

Fix: exit 1 when no console user found in repair-falcon-claude-hooks.sh

Cursor Agent1b8dad99f394
diff --git a/packaging/macos/jamf/scripts/repair-falcon-claude-hooks.sh b/packaging/macos/jamf/scripts/repair-falcon-claude-hooks.sh
index 26f9a4b7..b7a585bb 100755
--- a/packaging/macos/jamf/scripts/repair-falcon-claude-hooks.sh
+++ b/packaging/macos/jamf/scripts/repair-falcon-claude-hooks.sh
@@ -70,7 +70,7 @@ if [ -z "$CONSOLE_USER" ] || [ "$CONSOLE_USER" = "root" ] || [ "$CONSOLE_USER" =
"$BEACON_BIN" endpoint config validate --system
"$BEACON_BIN" endpoint status --system --json
launchctl print system/com.beacon.endpoint.collector || true
- exit 0
+ exit 1
fi
HOME_DIR="$(dscl . -read "/Users/$CONSOLE_USER" NFSHomeDirectory 2>/dev/null | awk '{print $2}')"