Commit 86787fb3 authored by reggie@big_geek's avatar reggie@big_geek

mtr_misc.pl:

  Fix mtr_exe_exists to work on win32
parent 37d1e803
......@@ -108,7 +108,14 @@ sub mtr_exe_exists (@) {
map {$_.= ".exe"} @path if $::glob_win32;
foreach my $path ( @path )
{
return $path if -x $path;
if($::glob_win32)
{
return $path if -f $path;
}
else
{
return $path if -x $path;
}
}
if ( @path == 1 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment