ps: fix build breakage from vda's recent commit
*: whitespace fixes
This commit is contained in:
@@ -116,7 +116,7 @@ int pgrep_main(int argc, char **argv)
|
||||
cmd = proc->comm;
|
||||
/* NB: OPT_INVERT is always 0 or 1 */
|
||||
if ((regexec(&re_buffer, cmd, 1, re_match, 0) == 0 /* match found */
|
||||
&& (!OPT_ANCHOR || (re_match[0].rm_so == 0 && re_match[0].rm_eo == strlen(cmd)))) ^ OPT_INVERT
|
||||
&& (!OPT_ANCHOR || (re_match[0].rm_so == 0 && re_match[0].rm_eo == strlen(cmd)))) ^ OPT_INVERT
|
||||
) {
|
||||
matched_pid = proc->pid;
|
||||
if (OPT_LAST) {
|
||||
|
||||
Reference in New Issue
Block a user