]> git.mjollnir.org Git - cil.git/commitdiff
Don't keep on putting the hr if there are no problems in 'fsck'.
authorAndrew Chilton <andychilton@gmail.com>
Sat, 28 Jun 2008 11:43:20 +0000 (23:43 +1200)
committerAndrew Chilton <andychilton@gmail.com>
Sat, 28 Jun 2008 11:43:20 +0000 (23:43 +1200)
bin/cil

diff --git a/bin/cil b/bin/cil
index b8bcd20b4a835af589b8cb09be6d90aa97221801..3ff7e17c521226cca3ab20051d845631e7b00d81 100755 (executable)
--- a/bin/cil
+++ b/bin/cil
@@ -534,6 +534,7 @@ sub cmd_fsck {
 
 sub print_fsck_errors {
     my ($entity, $errors) = @_;
+    return unless keys %$errors;
 
     separator();
     foreach my $issue_name ( keys %$errors ) {