ip/gping: add main pid to pid list for killall()
This commit is contained in:
parent
a2be120ea9
commit
d094b7faa1
1 changed files with 2 additions and 0 deletions
|
@ -971,6 +971,8 @@ main(int argc, char *argv[])
|
|||
}ARGEND
|
||||
*f = 0;
|
||||
|
||||
pids[npid++] = getpid();
|
||||
|
||||
for(i=0; i<argc; i++)
|
||||
addmachine(argv[i]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue