diff --git a/src/test/test-notify-recv.c b/src/test/test-notify-recv.c index 24690b40a4..be236a3b9f 100644 --- a/src/test/test-notify-recv.c +++ b/src/test/test-notify-recv.c @@ -72,7 +72,7 @@ TEST(notify_socket_prepare) { .pidref = PIDREF_NULL, }; _cleanup_free_ char *path = NULL; - ASSERT_OK(notify_socket_prepare(e, SD_EVENT_PRIORITY_NORMAL - 10, on_recv, &c, &path) >= 0); + ASSERT_OK(notify_socket_prepare(e, SD_EVENT_PRIORITY_NORMAL - 10, on_recv, &c, &path)); ASSERT_OK(sigprocmask_many(SIG_BLOCK, NULL, SIGCHLD));