aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-07-22 16:44:00 -0500
committerRob Landley <rob@landley.net>2017-07-22 16:44:00 -0500
commitda230831caf80a2bb781783d4289328cd1ab19ca (patch)
treed3c8430a08ea3c9be90c3672351d448b7899fd43 /toys/posix
parent67bf48c1cb3ed55249c27e6f02f5c938b20e027d (diff)
downloadtoybox-da230831caf80a2bb781783d4289328cd1ab19ca.tar.gz
Typo (env -0 was checking the flag wrong).
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/env.c b/toys/posix/env.c
index 041c6d95..2de8f690 100644
--- a/toys/posix/env.c
+++ b/toys/posix/env.c
@@ -56,5 +56,5 @@ void env_main(void)
}
if (environ) for (ev = environ; *ev; ev++)
- xprintf("%s%c", *ev, '\n'*!(toys.optflags*FLAG_0));
+ xprintf("%s%c", *ev, '\n'*!(toys.optflags&FLAG_0));
}