diff options
Diffstat (limited to 'archival/gunzip.c')
-rw-r--r-- | archival/gunzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c index e24401c..c5deec3 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c @@ -58,7 +58,7 @@ int gunzip_main(int argc, char **argv) optind++; - if (old_path == NULL || strcmp(old_path, "-") == 0) { + if (old_path == NULL || LONE_DASH(old_path)) { src_fd = STDIN_FILENO; opt |= GUNZIP_OPT_STDOUT; USE_DESKTOP(opt &= ~GUNZIP_OPT_VERBOSE;) |