Fix detection of debian for some ubuntu installations

This commit is contained in:
Jarrod Johnson 2014-01-08 15:16:18 -05:00
parent 1caaf17eb2
commit 3db9440ca9

View File

@ -47,7 +47,7 @@ my $pendingpackets=0;
my %tabooseq; #TODO: this is a global which means one taboo in the whole set causes unrelated session objects to consider it taboo unnecessarily
my $maxpending; #determined dynamically based on rcvbuf detection
my $ipmi2support;
if ( -f "/etc/debian_release" ){
if ( -f "/etc/debian_release" or -f "/etc/debian_version"){
$ipmi2support = eval {
require Digest::SHA;
Digest::SHA->import(qw/sha1/);