2 was removes

This commit is contained in:
2023-07-13 10:14:29 +00:00
parent 12f7f1fe66
commit 33bd79b837

View File

@@ -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;