diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 15:57:40 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 15:57:40 +0000 |
commit | fe54458e46eef445da32862b2171392be8f01ab4 (patch) | |
tree | f88b5ee99da5816f1628c9560cfabecb97468689 /coreutils/env.c | |
parent | 7c1ed2e922e80b7a81da3e748cb975c876315bd5 (diff) | |
download | busybox-w32-fe54458e46eef445da32862b2171392be8f01ab4.tar.gz busybox-w32-fe54458e46eef445da32862b2171392be8f01ab4.tar.bz2 busybox-w32-fe54458e46eef445da32862b2171392be8f01ab4.zip |
runit/chpst: "change process state" utility
It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
Diffstat (limited to 'coreutils/env.c')
-rw-r--r-- | coreutils/env.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/env.c b/coreutils/env.c index 4cdbeae6a..b42d90435 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
@@ -63,10 +63,10 @@ int env_main(int argc, char** argv) | |||
63 | ++argv; | 63 | ++argv; |
64 | } | 64 | } |
65 | 65 | ||
66 | if(opt & 1) | 66 | if (opt & 1) |
67 | environ = cleanenv; | 67 | environ = cleanenv; |
68 | else if(opt & 2) { | 68 | else if (opt & 2) { |
69 | while(unset_env) { | 69 | while (unset_env) { |
70 | unsetenv(unset_env->data); | 70 | unsetenv(unset_env->data); |
71 | unset_env = unset_env->link; | 71 | unset_env = unset_env->link; |
72 | } | 72 | } |