Skip to content

Commit

Permalink
Fix: Quote the value of the variable being exported so it's not misin…
Browse files Browse the repository at this point in the history
…terpreted
  • Loading branch information
Alexander, Michael committed Jan 21, 2025
1 parent 1bbc89e commit ec52094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RFC3339="%Y-%m-%dT%H:%M:%SZ"
# Fix 'sudo' in case we're running as root
if [ "$(id -u)" != "0" ]; then
export SUDO=sudo
export SUDO_W_ENV=sudo -E
export SUDO_W_ENV='sudo -E'
# always provide the sudo_w_env alias so python scripts can be sure it always exists
alias sudo_w_env='sudo -E'
else
Expand Down

0 comments on commit ec52094

Please sign in to comment.