aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}