diff --git a/scripts/build-vtest.sh b/scripts/build-vtest.sh index b9945078bb..7b6b23526f 100755 --- a/scripts/build-vtest.sh +++ b/scripts/build-vtest.sh @@ -2,7 +2,7 @@ set -eux -curl -fsSL https://github.com/wlallemand/VTest/archive/refs/heads/haproxy-sd_notify.tar.gz -o VTest.tar.gz +curl -fsSL https://github.com/wlallemand/VTest/archive/refs/heads/haproxy-sd_notify_nonblock.tar.gz -o VTest.tar.gz mkdir ../vtest tar xvf VTest.tar.gz -C ../vtest --strip-components=1 # Special flags due to: https://github.com/vtest/VTest/issues/12 diff --git a/src/systemd.c b/src/systemd.c index 64e8e45631..45e2c4ff61 100644 --- a/src/systemd.c +++ b/src/systemd.c @@ -111,6 +111,7 @@ int sd_notify(int unset_environment, const char *message) } end: + fprintf(stderr, "SD_NOTIFY: msg: %s file: %s fd: %d return: %d, strerror: %s\n", message, socket_path, fd, ret, strerror(-ret)); if (fd > -1) close(fd); return ret; /* Notified! */