summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-13 21:20:59 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-13 23:42:17 -0400
commit42b1b9907db905d7270be37873db586ed370d373 (patch)
tree1684bd274a8465cfa5e46a1a93c1b15508e57ea4
parentcd972d6911b0e1403e0a11408be732fc3a513f2b (diff)
core: explicitly ignore failure during cleanup
CID #1237550.
-rw-r--r--src/core/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index 8155065fe4..4a412a249a 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -527,7 +527,7 @@ fail:
if (n > 0) {
for (m = mounts; m < mounts + n; ++m)
if (m->done)
- umount2(m->path, MNT_DETACH);
+ (void) umount2(m->path, MNT_DETACH);
}
return r;