Fixing which_dir

This commit is contained in:
Pavel Shevaev 2022-05-18 13:43:08 +03:00
parent cf418d7fae
commit ac6b8d710d
1 changed files with 1 additions and 1 deletions

View File

@ -1090,7 +1090,7 @@ function check_process($pid)
function which_dir($bin)
{
return dirname(which_path($bin));
return realpath(dirname(which_path($bin)));
}
function which_path($bin)