File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -510,13 +510,13 @@ setup_cookie() { # Generate X authentication cookie
510
510
}
511
511
512
512
# describe xauth wrapper for 'ssh -X' in MSYS2, https://github.com/mviereck/runx/issues/7
513
- [ -e " $Xauthbin " ] && [ " $Winsubsystem " = " MSYS2" ] && [ ! -e /usr/X11R6/bin/xauth ] && note " If you want to use 'ssh -X' in MSYS2, you might need
513
+ [ -x " $Xauthbin " ] && [ " $Winsubsystem " = " MSYS2" ] && [ ! -x /usr/X11R6/bin/xauth ] && note " If you want to use 'ssh -X' in MSYS2, you might need
514
514
to create an executeable script /usr/X11R6/bin/xauth with the content:
515
515
#! /bin/bash
516
516
$( escapestring " $Xauthbin " ) \" $@ \"
517
517
"
518
518
519
- [ -e " $Xauthbin " ] && {
519
+ [ -x " $Xauthbin " ] && {
520
520
grep -q " /usr/bin" <<< " $Xauthbin" && Xauthsystem=" subsystem" || Xauthsystem=" windows"
521
521
# generate fresh cookie
522
522
" $Xauthbin " -i -f " $( convertpath $Xauthsystem " $Xcookie " ) " add :$Newdisplaynumber . $( mcookie)
You can’t perform that action at this time.
0 commit comments