Skip to content

Commit

Permalink
check the user permissions in wpt-check
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Bernardo committed Apr 19, 2024
1 parent 5f180ec commit ca61eca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wpt-check
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ print_usage () {
echo "Usage: $0 [ -h | -l FOLDER | -t TIMEOUT ] ( pull | build | clean | run BROWSER TEST| verify JSON-TRACE )"
}


docker info &> /dev/null || {
echo "Error connecting to docker daemon. Make sure your user has the correct permissions, e.g., is part of the 'docker' group."
exit 1
}

tmpfile=$(mktemp -d)
time=$(date +%s.%N)

Expand Down

0 comments on commit ca61eca

Please sign in to comment.