tar: No need to use -f for gzip

This commit is contained in:
sin 2015-01-26 16:03:46 +00:00
parent 7fbb858bcd
commit 1412d07b7d

2
tar.c
View File

@ -79,7 +79,7 @@ decomp(FILE *fp)
execlp("bzip2", "bzip2", "-cd", (char *)0); execlp("bzip2", "bzip2", "-cd", (char *)0);
eprintf("execlp bzip2:"); eprintf("execlp bzip2:");
case 'z': case 'z':
execlp("gzip", "gzip", "-cdf", (char *)0); execlp("gzip", "gzip", "-cd", (char *)0);
eprintf("execlp gzip:"); eprintf("execlp gzip:");
break; break;
} }