From: Christian Brauner Date: Mon, 27 Sep 2021 10:03:20 +0000 (+0200) Subject: lxc-monitord: use {} around ; X-Git-Tag: lxc-5.0.0~85^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69f5d68a5ce5db5ba272532b3d1c378d8fbff26d;p=thirdparty%2Flxc.git lxc-monitord: use {} around ; Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cmd/lxc_monitord.c b/src/lxc/cmd/lxc_monitord.c index 8f3ef023f..d477e9ade 100644 --- a/src/lxc/cmd/lxc_monitord.c +++ b/src/lxc/cmd/lxc_monitord.c @@ -409,8 +409,9 @@ int main(int argc, char *argv[]) * if-empty-statement construct is to quiet the * warn-unused-result warning. */ - if (lxc_write_nointr(pipefd, "S", 1)) + if (lxc_write_nointr(pipefd, "S", 1)) { ; + } close(pipefd); }