diff options
author | Rob Landley <rob@landley.net> | 2017-07-22 16:44:00 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-07-22 16:44:00 -0500 |
commit | da230831caf80a2bb781783d4289328cd1ab19ca (patch) | |
tree | d3c8430a08ea3c9be90c3672351d448b7899fd43 | |
parent | 67bf48c1cb3ed55249c27e6f02f5c938b20e027d (diff) | |
download | toybox-da230831caf80a2bb781783d4289328cd1ab19ca.tar.gz |
Typo (env -0 was checking the flag wrong).
-rw-r--r-- | toys/posix/env.c | 2 |
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)); } |