Skip to content

Commit

Permalink
Fixed error line 11: /mnt/c/Program: No such file or directory after
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardog committed Apr 30, 2023
1 parent a973671 commit 9b04677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gsudo.Wrappers/gsudo
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
# For better experience (fix credentials cache) in git-bash/MinGw create this wrapper can be added as function in .bashrc:
# gsudo() { WSLENV=WSL_DISTRO_NAME:USER:$WSLENV MSYS_NO_PATHCONV=1 gsudo.exe "$@"; }

WSLENV=WSL_DISTRO_NAME:USER:$WSLENV MSYS_NO_PATHCONV=1 $( dirname -- "$0")/gsudo.exe "$@"
WSLENV=WSL_DISTRO_NAME:USER:$WSLENV MSYS_NO_PATHCONV=1 "$( dirname -- "$0")/gsudo.exe" "$@"

0 comments on commit 9b04677

Please sign in to comment.