diff --git a/helpers.inc.php b/helpers.inc.php index 1c39663..cbd434b 100644 --- a/helpers.inc.php +++ b/helpers.inc.php @@ -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)