Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nazq committed Jun 2, 2024
1 parent cad7bf4 commit 5ded922
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test_cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ jobs:
docker run --rm --privileged tonistiigi/binfmt --install all
for entry in /proc/sys/fs/binfmt_misc/*; do
if [ "$(basename "$entry")" != "status" ]; then
echo "Contents of $entry:"
if ! cat "$entry"; then
echo "Permission denied for $entry"
else
if [ -r "$entry" ]; then
echo "Contents of $entry:"
cat "$entry"
echo
else
echo "Skipping $entry: Permission denied"
fi
fi
done
Expand Down

0 comments on commit 5ded922

Please sign in to comment.