X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=dupemerge;a=blobdiff_plain;f=dm6;h=44dcb9130318e4cad1c007a672f98fd5e6d88303;hp=9b614cdc1107d1285160f85e7c83d116aa52b01b;hb=b369878412e82690f14c5d0756f62dfd22f30431;hpb=1bba5d988a86b9f4a258d7baad545485913293ee diff --git a/dm6 b/dm6 index 9b614cd..44dcb91 100755 --- a/dm6 +++ b/dm6 @@ -67,7 +67,7 @@ sub link_files { } my $link_dir = shift @ARGV; -(-d $link_dir) or usage; +usage unless $link_dir; my $prefix_length = 3; @@ -104,6 +104,8 @@ sub prepare_parents { } # ext3 cannot handle more than 32000 links to a file. Leave some headroom. +# Arguably this should be configurable, but the losses are miniscule and +# the coding for option support is not. my $link_count_max = 31990; $/ = "\0";