commit f7825b03cb44856b59d0d80220b6dec807412b09
parent 3e74ca153eaba689ad8fd1bf6eee3982e35f2265
Author: leitner <leitner>
Date: Thu, 8 Apr 2004 15:34:13 +0000
oops, do not kill(0,...) if readpid failed
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/msvc.c b/msvc.c
@@ -308,8 +308,7 @@ dokill:
buffer_puts(buffer_2,argv[i]);
buffer_putsflush(buffer_2,": no such service!\n");
ret=1;
- }
- if (kill(pid,sig)) {
+ } else if (kill(pid,sig)) {
buffer_puts(buffer_2,"msvc: ");
buffer_puts(buffer_2,argv[i]);
buffer_puts(buffer_2,": could not send signal ");