aboutsummaryrefslogtreecommitdiff
path: root/coreutils/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/env.c')
-rw-r--r--coreutils/env.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/env.c b/coreutils/env.c
index e21740d98..8d8753e8b 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -62,8 +62,7 @@ int env_main(int argc ATTRIBUTE_UNUSED, char **argv)
62 environ = cleanenv; 62 environ = cleanenv;
63 } else { 63 } else {
64 while (unset_env) { 64 while (unset_env) {
65 unsetenv(unset_env->data); 65 unsetenv(llist_pop(&unset_env));
66 unset_env = unset_env->link;
67 } 66 }
68 } 67 }
69 68