diff --git a/install.sh b/install.sh index b509c68..2d810ae 100755 --- a/install.sh +++ b/install.sh @@ -456,7 +456,7 @@ if [ ! -f /etc/wsl.conf ]; then $SUDO_CMD touch /etc/wsl.conf; fi -SYSTEM_SETTINGS="$(grep -Pzow '\[boot\]\nsystemd\=true' /etc/wsl.conf 2> /dev/null)"; +SYSTEM_SETTINGS="$(grep -Pzow '\[boot\]\nsystemd\=true' /etc/wsl.conf > /dev/null)"; if [ "$SYSTEM_SETTINGS" == "" ]; then echo "[boot] systemd=true" | $SUDO_CMD tee /etc/wsl.conf;