diff --git a/wsl2-systemd-script.sh b/wsl2-systemd-script.sh index 7c88834..ac16e9d 100755 --- a/wsl2-systemd-script.sh +++ b/wsl2-systemd-script.sh @@ -73,7 +73,7 @@ Defaults env_keep += PRE_NAMESPACE_PWD EOF if ! grep 'start-systemd-namespace' /etc/bash.bashrc >/dev/null; then - $SUDO_CMD sed -i 2a"# Start or enter a PID namespace in WSL2\nsource /usr/local/bin/start-systemd-namespace.sh\n" /etc/bash.bashrc + $SUDO_CMD sed -i 2a"# Start or enter a PID namespace in WSL2\nsource /usr/local/bin/start-systemd-namespace\n" /etc/bash.bashrc fi $SUDO_CMD rm -f /etc/systemd/user/sockets.target.wants/dirmngr.socket