From e9b2ecd59e5d49aefeba1f71786bb0ae9a80fd74 Mon Sep 17 00:00:00 2001 From: buildbot Date: Mon, 20 Apr 2020 12:53:18 +0000 Subject: [PATCH] Added the possibility of specifying worker path on the command line for the restart-workers script - Legacy-Id: 17662 --- buildbot/restart-workers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot/restart-workers b/buildbot/restart-workers index 4415c7d1e..7e62828ce 100755 --- a/buildbot/restart-workers +++ b/buildbot/restart-workers @@ -1,3 +1,3 @@ #!/bin/bash -for d in workers/*; do ( cd $d; . env/bin/activate; buildbot-worker restart; ); done +for d in ${1:-workers/*}; do ( cd $d; . env/bin/activate; buildbot-worker restart; ); done