From cf6b2d95971de1894c6d116000c0441fdfc8a618 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 19 Feb 2023 08:07:32 +0100 Subject: [PATCH] fix WSL2 detection route. some linux distro spells with small letters --- pm3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pm3 b/pm3 index f92ce9bd7..79ea38768 100755 --- a/pm3 +++ b/pm3 @@ -474,7 +474,7 @@ fi HOSTOS=$(uname | awk '{print toupper($0)}') if [ "$HOSTOS" = "LINUX" ]; then - if uname -a|grep -q Microsoft; then + if uname -a|grep -qi Microsoft; then # First try finding it using the PATH environment variable PSHEXE=$(command -v powershell.exe 2>/dev/null)