From 1f6b411372076426c0faf0bb350437fb4d82931f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 9 Sep 2015 14:23:02 +0200 Subject: tree-wide: update empty-if coccinelle script to cover empty-while and more Let's also clean up single-line while and for blocks. --- src/core/namespace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/namespace.c') diff --git a/src/core/namespace.c b/src/core/namespace.c index 5ff35b38fb..eb88574f8f 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -555,10 +555,9 @@ int setup_namespace( /* Remount / as the desired mode. Not that this will not * reestablish propagation from our side to the host, since * what's disconnected is disconnected. */ - if (mount(NULL, "/", NULL, mount_flags | MS_REC, NULL) < 0) { + if (mount(NULL, "/", NULL, mount_flags | MS_REC, NULL) < 0) /* at this point, we cannot rollback */ return -errno; - } return 0; -- cgit v1.2.3-54-g00ecf