[project @ peter@palfrader.org-20080519140145-vtx2iikqv1z5hi27]
[mirror/dsa-nagios.git] / dsa-nagios-nrpe-config / weak-ssh-keys-check
index 3e07842..a1a5294 100755 (executable)
@@ -227,6 +227,7 @@ sub from_ssh_auth_file ($) {
        chomp $line;
        my $lineno = $.;
        clear_tmp $tmp;
+       next if $line =~ m/^$/; # ignore empty lines
        next if $line =~ m/^#/; # ignore comments
        if ($line =~ m/^ssh-dss/) {
                $dsa_keys++;