fixlet to pgrep/pkill
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user