diff --git a/src/shared/udev-util.c b/src/shared/udev-util.c index 2f21ee6dbe..f91ee3e1bd 100644 --- a/src/shared/udev-util.c +++ b/src/shared/udev-util.c @@ -736,5 +736,5 @@ bool udev_available(void) { if (cache >= 0) return cache; - return (cache = path_is_read_only_fs("/sys/") <= 0); + return (cache = (path_is_read_only_fs("/sys/") <= 0)); }