diff --git a/entrypoint.sh b/entrypoint.sh index 707cd69..ba9c58a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -51,7 +51,10 @@ if [ "${HOME_USER-}" ]; then sudo su -l ${HOME_USER} # Delete the vscode user - sudo userdel -r vscode + if id "vscode" &>/dev/null; then + sudo chown -R vscode:vscode /home/vscode + sudo userdel -r vscode + fi else # Switch to the user specified by $HOME_USER and start an interactive shell session. sudo su -l ${HOME_USER} diff --git a/version.txt b/version.txt index 7ba8820..918e12b 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.49 \ No newline at end of file +2.0.50 \ No newline at end of file