fixlet to pgrep/pkill
This commit is contained in:
parent
a4f4de9b7e
commit
5fb09656ca
@ -121,7 +121,7 @@ int pgrep_main(int argc, char **argv)
|
||||
matched_pid = proc->pid;
|
||||
if (OPT_LAST) {
|
||||
free(cmd_last);
|
||||
cmd_last = xstrdup(cmd_last);
|
||||
cmd_last = xstrdup(cmd);
|
||||
continue;
|
||||
}
|
||||
act(proc->pid, cmd, signo, opt);
|
||||
|
Loading…
Reference in New Issue
Block a user