mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 15:02:57 +00:00
Remove XDG_CACHE_HOME from start.sh sudo call
This commit is contained in:
@@ -144,7 +144,7 @@ if [ "$(id -u)" == 0 ] ; then
|
||||
|
||||
echo "Running as ${NB_USER}:" "${cmd[@]}"
|
||||
exec sudo --preserve-env --set-home --user "${NB_USER}" \
|
||||
PATH="${PATH}" XDG_CACHE_HOME="/home/${NB_USER}/.cache" \
|
||||
PATH="${PATH}" \
|
||||
PYTHONPATH="${PYTHONPATH:-}" \
|
||||
"${cmd[@]}"
|
||||
|
||||
|
Reference in New Issue
Block a user