summaryrefslogtreecommitdiff
blob: aab683244d7386c4af03b9ad1700b84352ac39aa (plain)
1
2
3
4
5
6
7
8
9
10
11
--- main.c.orig	2010-03-03 02:12:45.000000000 +0100
+++ main.c	2010-03-15 10:20:19.562892780 +0100
@@ -1252,7 +1252,7 @@
       return -1;
     }
 
-    if (!S_ISREG(sbuf->st_mode)) {
+    if (!decompress && !S_ISREG(sbuf->st_mode)) {
       log_warning("%s: skipping \"%s\": not a regular file\n", pname,
           operand->val);
       return -1;