diff --git a/ROOT/usr/lib/xymon/client/ext/zfs-backups b/ROOT/usr/lib/xymon/client/ext/zfs-backups index 5491f4626e818340a3ddbf4ff0b8e19b2536c926..42aca20e6663c3d00ba13ece9f751cc2a6ebbde2 100755 --- a/ROOT/usr/lib/xymon/client/ext/zfs-backups +++ b/ROOT/usr/lib/xymon/client/ext/zfs-backups @@ -89,15 +89,15 @@ foreach my $hr (@{$all}) { $bb->color_line('red', "$conffile is missing\n"); } - my $thisquota = &thisquota($zfs_target); - my $parentquota = &parentquota($zfs_target); - if($thisquota ne 'none') { - $bb->color_line('green', "Quota of $thisquota is set\n"); - } elsif($parentquota ne 'none') { - $bb->color_line('green', "Parent has quota $parentquota set\n"); - } else { - $bb->color_line('red', "Neither " . $zfs_target . " or its parent has a quota set\n"); - } + my $thisquota = &thisquota($zfs_target); + my $parentquota = &parentquota($zfs_target); + if($thisquota ne 'none') { + $bb->color_line('green', "Quota of $thisquota is set\n"); + } elsif($parentquota ne 'none') { + $bb->color_line('green', "Parent has quota $parentquota set\n"); + } else { + $bb->color_line('red', "Neither " . $zfs_target . " or its parent has a quota set\n"); + } my $backup_age; if(defined($row->{'age'})) {