Skip to content

Commit

Permalink
Revert "chg: empty call to powershell.exe triggers colors on ProxSpace"
Browse files Browse the repository at this point in the history
This reverts commit a5b406b.
  • Loading branch information
iceman1001 committed Jun 24, 2020
1 parent c2df7ed commit 4daa8aa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pm3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4daa8aa

Please sign in to comment.