diff --git a/server/src/perl/Inquisitor.pm b/server/src/perl/Inquisitor.pm index 960f6f3..8c9804f 100644 --- a/server/src/perl/Inquisitor.pm +++ b/server/src/perl/Inquisitor.pm @@ -4,6 +4,7 @@ package Inquisitor; use strict; use attributes; no warnings; +use File::Spec; my @preloaded; # Check what's loaded before we pollute the namespace @@ -356,7 +357,7 @@ sub dump_loaded_mods { foreach my $key_to_print (@$filtered_modules) { my $path = $displays->{$key_to_print}; next if !$path; # If we don't have a path, the modHunter module would be better - print_tag("$key_to_print", "m", "", $path, $key_to_print, 0, ""); + print_tag("$key_to_print", "m", "", File::Spec->rel2abs($path), $key_to_print, 0, ""); } return; }