]> diplodocus.org Git - minc/commitdiff
(getfiles): Wow, i sure missed a lot of places where counts need to
authorepg <>
Mon, 26 Apr 2004 16:26:28 +0000 (16:26 +0000)
committerepg <>
Mon, 26 Apr 2004 16:26:28 +0000 (16:26 +0000)
be adjusted.  Fix the early exit test.

minc

diff --git a/minc b/minc
index b437af7..5f06420 100755 (executable)
--- a/minc
+++ b/minc
@@ -276,7 +276,7 @@ sub getfiles {
         die("readdir($dir): $!");
     }
 
-    if (@result == 0) {
+    if (@result <= 2) {
         exit(0);
     }