Fixing which_dir
This commit is contained in:
parent
cf418d7fae
commit
ac6b8d710d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue