[autobuilder-helper,thud,25/40] run-config: Fix lockfile loop handling

Submitted by Richard Purdie on Sept. 10, 2020, 1:30 p.m. | Patch ID: 176347

Details

Message ID 20200910133035.2044355-25-richard.purdie@linuxfoundation.org
State New
Headers show

Commit Message

Richard Purdie Sept. 10, 2020, 1:30 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 scripts/run-config | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/scripts/run-config b/scripts/run-config
index 55287c3..4d795b9 100755
--- a/scripts/run-config
+++ b/scripts/run-config
@@ -110,6 +110,7 @@  if bttarball:
                         else:
                             subprocess.check_call(["wget", "-O", btdlpath, bttarball])
                         os.chmod(btdlpath, 0o775)
+                break
             except OSError:
                 # We raced with someone else, try again
                 pass