diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-09-26 19:22:34 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-09-26 19:22:34 +1300 |
commit | d4c095ef249f457f16e6bd18dfa47338ca2830c2 (patch) | |
tree | 5a85701b2af38c3328678e62c09fb8511237ab5e /checkem | |
parent | Handle and print file errors properly (diff) | |
download | checkem-d4c095ef249f457f16e6bd18dfa47338ca2830c2.tar.gz checkem-d4c095ef249f457f16e6bd18dfa47338ca2830c2.zip |
Use 'and' rather than '&&' for readability
Diffstat (limited to 'checkem')
-rwxr-xr-x | checkem | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |