chiark / gitweb /
core: explicitly ignore failure during cleanup
[elogind.git] / src / core / namespace.c
index 8155065fe42c5073f7ced1786ef9cf2ef9086cbc..4a412a249ac59778485d6d079c0ba01e37fef10a 100644 (file)
@@ -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;