summaryrefslogtreecommitdiff
path: root/coreutils/env.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-03 15:57:40 +0000
committerDenis Vlasenko2006-10-03 15:57:40 +0000
commitfe54458e46eef445da32862b2171392be8f01ab4 (patch)
treef88b5ee99da5816f1628c9560cfabecb97468689 /coreutils/env.c
parent7c1ed2e922e80b7a81da3e748cb975c876315bd5 (diff)
downloadbusybox-fe54458e46eef445da32862b2171392be8f01ab4.zip
busybox-fe54458e46eef445da32862b2171392be8f01ab4.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/env.c b/coreutils/env.c
index 4cdbeae..b42d904 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -63,10 +63,10 @@ int env_main(int argc, char** argv)
++argv;
}
- if(opt & 1)
+ if (opt & 1)
environ = cleanenv;
- else if(opt & 2) {
- while(unset_env) {
+ else if (opt & 2) {
+ while (unset_env) {
unsetenv(unset_env->data);
unset_env = unset_env->link;
}