correctly report pid when killing subprocess

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-16 00:49:04 +02:00
parent 84e102eb29
commit 7b770b7b35

View file

@ -150,7 +150,8 @@ def configinstall(args, mode):
except KeyboardInterrupt:
if args.parallel:
for p in process.keys():
log.warn("Terminating deploy " + p + "(" + p.pid + ")")
pid = process[p].pid.__str__()
log.warn("Terminating deploy " + p + " (" + pid + ")")
process[p].terminate()
sys.exit(0)