]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-monitord: use {} around ;
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 27 Sep 2021 10:03:20 +0000 (12:03 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 27 Sep 2021 10:03:20 +0000 (12:03 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cmd/lxc_monitord.c

index 8f3ef023f1be94cc4feca6ca545bd93354f60ffb..d477e9ade87b664ca4a16b1b0a224543dfaf920c 100644 (file)
@@ -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);
        }