aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/gunzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index 6f5e63d4b..c39814de0 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -110,7 +110,7 @@ extern int gunzip_main(int argc, char **argv)
110 } 110 }
111 111
112 /* Set input filename and number */ 112 /* Set input filename and number */
113 if (argv[optind] == NULL) { 113 if (argv[optind] == NULL || strcmp(argv[optind], "-") == 0) {
114 flags |= gunzip_to_stdout; 114 flags |= gunzip_to_stdout;
115 in_file = stdin; 115 in_file = stdin;
116 } else { 116 } else {