diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-07-02 13:11:37 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-07-02 13:11:37 +0100 |
| commit | 882815f8740fe0c42ff53bc7df8f9bfb750d6944 (patch) | |
| tree | 10cd652d2185a95e96bfa8755f8db3fa4a643599 /miscutils | |
| parent | 20495b16aaf9bc888a6fc1d10b3746c506420b04 (diff) | |
| download | busybox-w32-master.tar.gz busybox-w32-master.tar.bz2 busybox-w32-master.zip | |
Update the 'rpm' applet so it also respects the BB_SYSTEMROOT
environment variable.
Replace chdir_system_drive() with xchdir_system_drive(), which
exits on failure to change directory.
Saves 32-36 bytes.
(GitHub PR #603)
Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/man.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/man.c b/miscutils/man.c index cf67f1538..e6da41624 100644 --- a/miscutils/man.c +++ b/miscutils/man.c | |||
| @@ -287,7 +287,7 @@ int man_main(int argc UNUSED_PARAM, char **argv) | |||
| 287 | if (strchr(*ptr, '/') || strchr(*ptr, '\\')) | 287 | if (strchr(*ptr, '/') || strchr(*ptr, '\\')) |
| 288 | *ptr = xabsolute_path(*ptr); | 288 | *ptr = xabsolute_path(*ptr); |
| 289 | } | 289 | } |
| 290 | chdir_system_drive(); | 290 | xchdir_system_drive(); |
| 291 | #endif | 291 | #endif |
| 292 | 292 | ||
| 293 | conf_sec_list = xstrdup("0p:1:1p:2:3:3p:4:5:6:7:8:9"); | 293 | conf_sec_list = xstrdup("0p:1:1p:2:3:3p:4:5:6:7:8:9"); |
