diff options
author | Ron Yorston <rmy@pobox.com> | 2016-04-04 16:22:54 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2016-04-04 16:22:54 +0100 |
commit | 253dbd612b2d2f041f4263e15a3b94df70f41e36 (patch) | |
tree | f6c6e12a0541233058a7f7ccb1251afeb457da06 /runit | |
parent | 3cf56a021d7a62512b477640e930e1a78288075c (diff) | |
parent | d7d4750e1e213e7448147186dddfe3bfbb47eea0 (diff) | |
download | busybox-w32-253dbd612b2d2f041f4263e15a3b94df70f41e36.tar.gz busybox-w32-253dbd612b2d2f041f4263e15a3b94df70f41e36.tar.bz2 busybox-w32-253dbd612b2d2f041f4263e15a3b94df70f41e36.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'runit')
-rw-r--r-- | runit/chpst.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runit/chpst.c b/runit/chpst.c index 301cdd08a..7fe5151db 100644 --- a/runit/chpst.c +++ b/runit/chpst.c | |||
@@ -255,8 +255,7 @@ static NOINLINE void edir(const char *directory_name) | |||
255 | xsetenv(d->d_name, buf); | 255 | xsetenv(d->d_name, buf); |
256 | } | 256 | } |
257 | closedir(dir); | 257 | closedir(dir); |
258 | if (fchdir(wdir) == -1) | 258 | xfchdir(wdir); |
259 | bb_perror_msg_and_die("fchdir"); | ||
260 | close(wdir); | 259 | close(wdir); |
261 | } | 260 | } |
262 | 261 | ||