← Commit list

5fb09656c

Denis Vlasenko
Denis Vlasenko
2007-09-30
FAILED Duration: 17s

Subject

fixlet to pgrep/pkill

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

procps/pgrep.c+1 -1
@@ -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);