mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +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;
|
||||
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