add a message of not supported on NetBSD

This commit is contained in:
Jordi Sanfeliu 2014-02-21 10:14:52 +01:00
parent 8caf9e1f45
commit a42ad916ae
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ sub int_init {
my @max;
my @last;
if($config->{os} eq "NetBSD") {
logger("$myself is not supported yet by your operating system ($config->{os}).");
return;
}
if(-e $rrd) {
$info = RRDs::info($rrd);
for my $key (keys %$info) {