void-linux / runit

The init system for Void Linux.
https://voidlinux.org
162 stars 22 forks source link

svlogd.c: fix clause guard warning in GCC #22

Open rilysh opened 1 year ago

rilysh commented 1 year ago

On compilation, GCC emits 'if' clause does not guard warning (-Wmisleading-indentation). Wrapping the return value would prevent this indent warning.