1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

autobuild: don't cleanup the pid file within the retry loop

if we rebase and retry we need to keep the pid file
This commit is contained in:
Andrew Tridgell 2010-10-21 20:41:06 +11:00
parent 4fa0ceb751
commit 6120ef9f9e

View File

@ -278,7 +278,6 @@ def write_pidfile(fname):
f = open(fname, mode='w')
f.write("%u\n" % os.getpid())
f.close()
cleanup_list.append(fname)
def rebase_tree(url):
@ -473,6 +472,8 @@ while True:
cleanup()
raise
cleanup_list.append(gitroot + "/autobuild.pid")
blist.kill_kids()
if options.tail:
print("waiting for tail to flush")