startstop_node.py: use SIGINT instead of SIGTERM to stop the node (fixes #143)

This commit is contained in:
Zooko O'Whielacronx 2007-09-23 07:06:54 -07:00
parent e4aa204b41
commit 93efd2902e

View File

@ -85,7 +85,7 @@ def do_stop(basedir, out=sys.stdout, err=sys.stderr):
timer = 0
try:
os.kill(pid, signal.SIGINT)
os.kill(pid, signal.SIGTERM)
except OSError, oserr:
if oserr.errno == 3:
print oserr.strerror