diff options
author | Rob Landley <rob@landley.net> | 2015-08-08 19:21:42 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-08-08 19:21:42 -0500 |
commit | 11d2ff5ffac9382be0d6971b8ac84df21eca85df (patch) | |
tree | 3d145fc0f545138ebb1bb299bd88dabfe50dc8a3 /lib/lib.c | |
parent | 3501e103b3b1f9d79f733976e338d59478d2e6f6 (diff) | |
download | toybox-11d2ff5ffac9382be0d6971b8ac84df21eca85df.tar.gz |
First pass at proper bunzip2 command line handling.
Diffstat (limited to 'lib/lib.c')
-rw-r--r-- | lib/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -575,7 +575,7 @@ void delete_tempfile(int fdin, int fdout, char **tempname) { close(fdin); close(fdout); - unlink(*tempname); + if (*tempname) unlink(*tempname); tempfile2zap = (char *)1; free(*tempname); *tempname = NULL; |