diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-10 11:29:44 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-10 11:29:44 +0000 |
commit | 44e216f2642ff4ea53026792e80df95df71e9905 (patch) | |
tree | 5d292f6107e96579460f114d00cfdd799e4e3673 /archival/rpm.c | |
parent | 2d1a6e7c1fc5f5772aa9986893f3d6db28fd99c2 (diff) |
- use bb_xchdir instead of ignoring eventual errors of chdir
Thanks to Erik Hovland
Diffstat (limited to 'archival/rpm.c')
-rw-r--r-- | archival/rpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/rpm.c b/archival/rpm.c index 9bbc4a856..075578971 100644 --- a/archival/rpm.c +++ b/archival/rpm.c @@ -198,7 +198,7 @@ void extract_cpio_gz(int fd) { bb_error_msg_and_die("Invalid gzip magic"); } check_header_gzip(archive_handle->src_fd); - chdir("/"); // Install RPM's to root + bb_xchdir("/"); // Install RPM's to root archive_handle->src_fd = open_transformer(archive_handle->src_fd, inflate_gunzip); archive_handle->offset = 0; |