projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lpd: spool mode added by Vladimir
[platform/upstream/busybox.git]
/
runit
/
chpst.c
diff --git
a/runit/chpst.c
b/runit/chpst.c
index
0f605cc
..
7b70a4d
100644
(file)
--- a/
runit/chpst.c
+++ b/
runit/chpst.c
@@
-332,8
+332,7
@@
int chpst_main(int argc, char **argv)
if (env_dir) edir(env_dir);
if (root) {
xchdir(root);
- if (chroot(".") == -1)
- bb_perror_msg_and_die("chroot");
+ xchroot(".");
}
slimit();
if (nicelvl) {