Changes in commit
3812ff7bb296 ("buildworker: start: fix worker startup
failure after update") broke non TLS setups. So lets fix it by setting
SSL: only if BUILDWORKER_TLS is set.
Fixes: 3812ff7bb296 ("buildworker: start: fix worker startup failure after update")
Reported-by: Paul Spooren <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]>
/opt/venv/bin/buildbot-worker create-worker \
--force \
--umask="0o22" \
- --connection-string="SSL:$BUILDWORKER_MASTER" \
+ ${BUILDWORKER_TLS:+--connection-string="SSL:$BUILDWORKER_MASTER"} \
/builder \
"$BUILDWORKER_MASTER" \
"$BUILDWORKER_NAME" \