Skip to content

Commit 9cae931

Browse files
committed
fix: Fix perl error on not found TacticalRMM software version
1 parent bf2b656 commit 9cae931

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/GLPI/Agent/Task/Inventory/Generic/Remote_Mgmt/TacticalRMM.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ sub _getVersion {
121121
%params
122122
));
123123

124+
return unless $line;
124125
return $line =~ /Tactical RMM Agent:\s+([0-9.]+)/i;
125126
}
126127

0 commit comments

Comments
 (0)