Skip to content

Commit

Permalink
Merge pull request #31 from dicej/sudo-preserve-env
Browse files Browse the repository at this point in the history
fix: add --preserve-env=PATH to sudo command
  • Loading branch information
dicej committed Jun 13, 2022
2 parents 0193273 + f97986f commit 2788c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/quick-start/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ consul agent -dev \
# https://github.com/deislabs/hippo/blob/de73ae52d606c0a2351f90069e96acea831281bc/src/Infrastructure/Jobs/NomadJob.cs#L28
# https://www.nomadproject.io/docs/drivers/exec#client-requirements
case "$OSTYPE" in
linux*) SUDO=sudo ;;
linux*) SUDO="sudo --preserve-env=PATH" ;;
*) SUDO= ;;
esac

Expand Down

0 comments on commit 2788c77

Please sign in to comment.