Skip to content

Commit 0d34172

Browse files
committed
Fix FreeBSD CI: set user to match CI runner for privilege check
1 parent 0f91268 commit 0d34172

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/freebsd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ jobs:
7070
test -f scripts/sniproxy.rc
7171
7272
# Smoke test: start sniproxy with a test config
73-
# cross-platform-actions runs as uid 1001 (runner), not root,
74-
# so omit user directive (can't drop privileges without root)
73+
# cross-platform-actions runs as user 'runner', not root
7574
echo "Running as: $(whoami) (uid=$(id -u))"
7675
printf '%s\n' \
76+
"user $(whoami)" \
7777
'error_log { syslog daemon }' \
7878
'listener 127.0.0.1:18443 {' \
7979
' protocol tls' \

0 commit comments

Comments
 (0)