mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 17:32:59 +01:00
Fix compatibility issue with fastnetmon_install.pl
This commit is contained in:
parent
b4e305aa46
commit
36ad643a94
@ -296,7 +296,8 @@ sub get_sha1_sum {
|
||||
my $path = shift;
|
||||
|
||||
if ($os_type eq 'freebsd') {
|
||||
use Digest::SHA;
|
||||
# # We should not use 'use' here because we haven't this package on non FreeBSD systems by default
|
||||
require Digest::SHA;
|
||||
|
||||
# SHA1
|
||||
my $sha = Digest::SHA->new(1);
|
||||
|
Loading…
Reference in New Issue
Block a user