Skip to content

Commit

Permalink
Merge pull request #157 from matyasselmeci/pr/better-cvmfsexec-repos-…
Browse files Browse the repository at this point in the history
…check

Better check for making sure no CVMFSEXEC_REPOS were specified
  • Loading branch information
matyasselmeci authored Nov 7, 2023
2 parents 267e2c5 + 3b59129 commit 4a28753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if [[ -d $config_repo ]]; then
echo "OSG CVMFS already available (perhaps via bind-mount),"
echo "skipping cvmfsexec."
exec "$@"
elif [[ -z $CVMFSEXEC_REPOS ]]; then
elif [[ ! $CVMFSEXEC_REPOS =~ [a-z]+ ]]; then
echo "No CVMFS repos requested, skipping cvmfsexec."
exec "$@"
fi
Expand Down

0 comments on commit 4a28753

Please sign in to comment.