Skip to main content
1 of 3

The problem was that this command added a "\r\n", it can be removed via:

WINDOWS_USER=$(eval "whoami.exe" | tr -d "\r\n")