Skip to content
Snippets Groups Projects
Commit dc91da0f authored by Mirco's avatar Mirco
Browse files

fix test.sh for CircleCI

parent 91799b51
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,9 @@ if pgrep -lf sshuttle > /dev/null ; then
exit 1
fi
if groups $USER | grep &>/dev/null '\bdocker\b'; then
if [[ $NO_SUDO || -n "$CIRCLECI" ]]; then
CAPTAIN="captain"
elif groups $USER | grep &>/dev/null '\bdocker\b'; then
CAPTAIN="captain"
else
CAPTAIN="sudo captain"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment