Skip to content

Commit ec52094

Browse files
Fix: Quote the value of the variable being exported so it's not misinterpreted
1 parent 1bbc89e commit ec52094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmdlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RFC3339="%Y-%m-%dT%H:%M:%SZ"
88
# Fix 'sudo' in case we're running as root
99
if [ "$(id -u)" != "0" ]; then
1010
export SUDO=sudo
11-
export SUDO_W_ENV=sudo -E
11+
export SUDO_W_ENV='sudo -E'
1212
# always provide the sudo_w_env alias so python scripts can be sure it always exists
1313
alias sudo_w_env='sudo -E'
1414
else

0 commit comments

Comments
 (0)