diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/bbunzip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c index e16e6b083..3c3cc2886 100644 --- a/archival/bbunzip.c +++ b/archival/bbunzip.c @@ -105,8 +105,7 @@ int bbunpack(char **argv, if (new_name == filename) filename[strlen(filename)] = '.'; } - if (unlink(del) < 0) - bb_perror_msg_and_die("cannot remove %s", del); + xunlink(del); #if 0 /* Currently buggy - wrong name: "a.gz: 261% - replaced with a.gz" */ /* Extreme bloat for gunzip compat */ |