ps: revert wrong "optimization": (i & 1) -> i

This commit is contained in:
Denis Vlasenko 2007-07-01 17:25:59 +00:00
parent e6bce979bf
commit aba7f49a22

View File

@ -368,7 +368,7 @@ int ps_main(int argc, char **argv)
i = getopt32(argc, argv, "Z");
#endif
#if ENABLE_SELINUX
if (i && is_selinux_enabled())
if ((i & 1) && is_selinux_enabled())
use_selinux = PSSCAN_CONTEXT;
#endif
#endif /* ENABLE_FEATURE_PS_WIDE || ENABLE_SELINUX */