From 1bb3a5436de0c80be892a1861b90c47234adc2b3 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 23 Jan 2008 06:45:44 +0000 Subject: Cleanup svn path=/scripts/testbed.py; revision=1492 --- scripts/testbed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/testbed.py') diff --git a/scripts/testbed.py b/scripts/testbed.py index b0e6535b..e74eda5f 100644 --- a/scripts/testbed.py +++ b/scripts/testbed.py @@ -259,9 +259,9 @@ def main(): try: for a in db.engines: a.kill_daemons() - for p in (rootd_process, rsyncd_process): + for p,n in ((rootd_process, "rootd"), (rsyncd_process, "rsyncd")): if p is not None: - rpki.log.info("Killing process %d" % p.pid) + rpki.log.info("Killing %n[%d]" % (n, p.pid)) os.kill(p.pid, signal.SIGTERM) except Exception, data: rpki.log.warn("Couldn't clean up daemons (%s), continuing" % data) -- cgit v1.2.3