shithub: riscv

Download patch

ref: d094b7faa1151c60d829a3988bae819f76be75d3
parent: a2be120ea93ae67447315da268fa336650cd5149
author: cinap_lenrek <[email protected]>
date: Fri Mar 18 04:59:01 EDT 2016

ip/gping: add main pid to pid list for killall()

--- a/sys/src/cmd/ip/gping.c
+++ b/sys/src/cmd/ip/gping.c
@@ -971,6 +971,8 @@
 	}ARGEND
 	*f = 0;
 
+	pids[npid++] = getpid();
+
 	for(i=0; i<argc; i++)
 		addmachine(argv[i]);