mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
ps: revert wrong "optimization": (i & 1) -> i
This commit is contained in:
parent
e6bce979bf
commit
aba7f49a22
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user