From 835a7bafb14f400b58d0a5cf7161b6b8bec050b7 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 11 Sep 2023 05:14:31 +0200 Subject: Fix CI. Signed-off-by: Toni Uhlig --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 802e1101a..ff210be29 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -176,12 +176,10 @@ jobs: ip -c address sudo systemctl daemon-reload sudo systemctl enable ndpid@lo - SYSTEMD_RET=0 - sudo systemctl --wait start ndpid@lo || { SYSTEMD_RET=$?; true; } - echo "systemctl returned: ${SYSTEMD_RET}" + sudo systemctl start ndpid@lo + SYSTEMCTL_RET=3; while (( $SYSTEMCTL_RET == 3 )); do systemctl is-active ndpid@lo.service; SYSTEMCTL_RET=$?; sleep 1; done sudo systemctl status ndpisrvd.service ndpid@lo.service sudo systemctl show ndpisrvd.service ndpid@lo.service -p SubState,ActiveState - test $SYSTEMD_RET -ne 0 && false - name: Build against libnDPI-${{ matrix.ndpi_min_version }} if: matrix.upload == false run: | -- cgit v1.2.3