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 <mail@aparcar.org>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
/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" \