From: Zygo Blaxell Date: Sat, 27 Mar 2010 14:16:27 +0000 (-0400) Subject: usage: fix uninitialized-value message if no directories given X-Git-Tag: dm6-0.20100514~6 X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23c7e99553642fe0fb150f3b1aa5d72c2be8d50a;hp=--cc;p=dupemerge usage: fix uninitialized-value message if no directories given --- 23c7e99553642fe0fb150f3b1aa5d72c2be8d50a diff --git a/faster-dupemerge b/faster-dupemerge index 075f0c7..4cdef97 100755 --- a/faster-dupemerge +++ b/faster-dupemerge @@ -242,7 +242,7 @@ while ($#ARGV >= 0) { } } -@directories or usage; +@directories or usage($0); if (defined($lock_file) && !$dry_run) { sysopen(LOCK_FILE, $lock_file, O_CREAT|O_RDONLY, 0666) or die "open: $lock_file: $!";