From 4daa8aac2c4c3981a993fe2258c158111bf1207b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 24 Jun 2020 11:53:00 +0200 Subject: [PATCH] Revert "chg: empty call to powershell.exe triggers colors on ProxSpace" This reverts commit a5b406bffa75b8e65dd532743f288ad251486c2e. --- pm3 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pm3 b/pm3 index d9d402cf2..771dce77d 100755 --- a/pm3 +++ b/pm3 @@ -354,12 +354,6 @@ else echo >&2 "[!!] Script ran under unknown name, abort: $SCRIPT" exit 1 fi - -HOSTOS=$(uname | awk '{print toupper($0)}') -if [[ "$HOSTOS" =~ MINGW(32|64)_NT* ]]; then - $(powershell.exe -command "Out-Null") -fi - if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then HELP exit 0 @@ -395,6 +389,7 @@ if [ "$1" == "-n" ]; then fi fi +HOSTOS=$(uname | awk '{print toupper($0)}') if [ "$HOSTOS" = "LINUX" ]; then if uname -a|grep -q Microsoft; then # Test presence of wmic