Fix codestyle & install libsystemd-dev in CI

This commit is contained in:
= 2025-04-27 22:56:13 +02:00 committed by Quentin Dawans
parent 79a05f7024
commit f91c93bc2f
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,8 @@ runs:
sudo apt-get -y install ccache clang cmake curl google-perftools \
libmysqlclient-dev make unzip build-essential cmake-data \
libboost-all-dev libbz2-dev libncurses5-dev libmysql++-dev \
libreadline6-dev libssl-dev libtool openssl zlib1g-dev
libreadline6-dev libssl-dev libtool openssl zlib1g-dev \
libsystemd-dev
# Account for https://github.com/actions/runner-images/issues/8659
# based off of https://github.com/actions/runner-images/issues/8659#issuecomment-1852353116

View File

@ -43,7 +43,7 @@ public:
_supportSocketActivation(supportSocketActivation)
{
#if AC_PLATFORM == AC_PLATFORM_UNIX
if(_supportSocketActivation && sd_listen_fds(0) > 0)
if (_supportSocketActivation && sd_listen_fds(0) > 0)
{
LOG_DEBUG("network", "Using socket from systemd socket activation");
boost::system::error_code errorCode;