From: Andrew Chilton Date: Sat, 28 Jun 2008 11:43:20 +0000 (+1200) Subject: Don't keep on putting the hr if there are no problems in 'fsck'. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5021a1309c0cc6c347402b91638f4f2b27042533;p=cil.git Don't keep on putting the hr if there are no problems in 'fsck'. --- diff --git a/bin/cil b/bin/cil index b8bcd20..3ff7e17 100755 --- 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 ) {