From ac6b8d710dd33a227a9912279952d6c39f6d04e6 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Wed, 18 May 2022 13:43:08 +0300 Subject: [PATCH] Fixing which_dir --- helpers.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)