mirror of
https://github.com/sheumann/hush.git
synced 2025-01-13 21:31:51 +00:00
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;
|
matched_pid = proc->pid;
|
||||||
if (OPT_LAST) {
|
if (OPT_LAST) {
|
||||||
free(cmd_last);
|
free(cmd_last);
|
||||||
cmd_last = xstrdup(cmd_last);
|
cmd_last = xstrdup(cmd);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
act(proc->pid, cmd, signo, opt);
|
act(proc->pid, cmd, signo, opt);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user