Skip to content

Commit

Permalink
Merge pull request #5 from gsteel/patch-1
Browse files Browse the repository at this point in the history
Pass though environment variables
  • Loading branch information
weierophinney authored Mar 8, 2021
2 parents 923a8e3 + 4ccd3db commit e7723c1
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 @@ -193,7 +193,7 @@ fi
set +e

echo "Running ${COMMAND}"
sudo -u testuser /bin/bash -c "${COMMAND}"
sudo --preserve-env -u testuser /bin/bash -c "${COMMAND}"
STATUS=$?

set -e
Expand Down

0 comments on commit e7723c1

Please sign in to comment.