Skip to content

Commit 513d39c

Browse files
remove unnecessary check
1 parent 8049898 commit 513d39c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/boundary-wrapper.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ else
1313
exit 1
1414
fi
1515

16-
# Check if we're already running as the target user (not root)
17-
if [ "$(id -u)" -eq 0 ]; then
18-
echo "Error: This wrapper should not be run as root. It will handle privilege escalation automatically." >&2
19-
exit 1
20-
fi
21-
2216
# Run boundary with proper privilege handling
2317
# Note: sys_admin is only needed in restricted environments (e.g., Docker with seccomp).
2418
# If boundary works without it on your system, you can remove +sys_admin from both flags.

0 commit comments

Comments
 (0)