From e2207b723fe483b98e05a67b37ac936beff6c742 Mon Sep 17 00:00:00 2001 From: Guillaume Bougard Date: Mon, 8 Jul 2024 22:59:29 +0200 Subject: [PATCH] fix: Fix rmmagent version detection on linux --- .../Agent/Task/Inventory/Generic/Remote_Mgmt/TacticalRMM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GLPI/Agent/Task/Inventory/Generic/Remote_Mgmt/TacticalRMM.pm b/lib/GLPI/Agent/Task/Inventory/Generic/Remote_Mgmt/TacticalRMM.pm index 9189b619a..62873ef6e 100644 --- a/lib/GLPI/Agent/Task/Inventory/Generic/Remote_Mgmt/TacticalRMM.pm +++ b/lib/GLPI/Agent/Task/Inventory/Generic/Remote_Mgmt/TacticalRMM.pm @@ -94,7 +94,7 @@ sub _getVersion { my $command = OSNAME eq 'MSWin32' ? '"C:\\Program Files\\TacticalAgent\\tacticalrmm.exe" --version' : - canRun("rmmagent") ? "rmmagent --version" : "/usr/loca/bin/rmmagent --version"; + canRun("rmmagent") ? "rmmagent --version" : "/usr/local/bin/rmmagent --version"; return getFirstMatch( command => $command,