Skip to content

Commit

Permalink
fix: Fix rmmagent version detection on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Jul 8, 2024
1 parent d0e8e5a commit 0cfc2a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ sub _getVersion {
my $command = OSNAME eq 'MSWin32' ?
'"C:\\Program Files\\TacticalAgent\\tacticalrmm.exe" --version'
:
"rmmagent --version";
canRun("rmmagent") ? "rmmagent --version" : "/usr/loca/bin/rmmagent --version";

return getFirstMatch(
command => $command,
Expand Down

0 comments on commit 0cfc2a7

Please sign in to comment.