From d4c095ef249f457f16e6bd18dfa47338ca2830c2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 26 Sep 2017 19:22:34 +1300 Subject: Use 'and' rather than '&&' for readability --- checkem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checkem') diff --git a/checkem b/checkem index 830e75a..85c5364 100755 --- a/checkem +++ b/checkem @@ -108,7 +108,7 @@ SIZE: for my $fs ( grep { @{$_} > 1 } values %sizes ) { # Catch hard links on compliant systems by keeping a dev/inode hash my ( $dev, $ino ) = @{$f}{qw(dev ino)}; - if ( $dev && $ino ) { + if ( $dev and $ino ) { next if exists $inos{$dev}{$ino}; $inos{$dev}{$ino} = $f; } -- cgit v1.2.3