Skip to content

Commit db00a4d

Browse files
committed
fix screenshots in headless chrome
1 parent 7f7fbad commit db00a4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_scripts/snapshot.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ WORKDIR=$(readlink -f ./_snapshot-workdir)
2626
echo "SITE_ABS=$SITE_ABS"
2727
echo "MAX_TRIES=${MAX_TRIES:=5}"
2828

29+
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
30+
2931
if [[ ! -d "$SITE_ABS" ]]; then
3032
echo "site directory does not exist: $SITE_ABS"
3133
exit 1

0 commit comments

Comments
 (0)