From 0cc11990c7fe19130b7f93315860564564d8112e Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Wed, 10 Nov 2021 17:58:32 +0300 Subject: [PATCH] Remove XDG_CACHE_HOME from start.sh sudo call --- base-notebook/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base-notebook/start.sh b/base-notebook/start.sh index a0a70c43..cbebbb13 100755 --- a/base-notebook/start.sh +++ b/base-notebook/start.sh @@ -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[@]}"