diff --git a/utils/common.sh b/utils/common.sh index 535c265d..318e6213 100644 --- a/utils/common.sh +++ b/utils/common.sh @@ -341,8 +341,8 @@ function in_array() { function wsl2_requirements() { if [[ "$KERNEL" == *"microsoft"* ]]; then echo -ne "➤ Validating WSL2 requirements... " - if ! grep -q "systemd=boot" "$WSL_FILE" &>>"$LOG_FILE"; then - echo "systemd=boot must be added to $WSL_FILE" &>>"$LOG_FILE" + if ! grep -q "systemd=true" "$WSL_FILE" &>>"$LOG_FILE"; then + echo "systemd=true must be added to $WSL_FILE" &>>"$LOG_FILE" return 1 fi echo -e "[$done_format]"