From 9610210d3235a4b0b007623710f5b3ca7e2bd403 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 31 Jan 2020 23:10:26 +0900 Subject: [PATCH] nspawn: voidify umount_verbose() Fixes CID#1415122. --- src/nspawn/nspawn-mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nspawn/nspawn-mount.c b/src/nspawn/nspawn-mount.c index 6afc31d824b..a862355a645 100644 --- a/src/nspawn/nspawn-mount.c +++ b/src/nspawn/nspawn-mount.c @@ -906,7 +906,7 @@ static int mount_inaccessible(const char *dest, CustomMount *m) { r = mount_verbose(m->graceful ? LOG_DEBUG : LOG_ERR, NULL, where, NULL, MS_BIND|MS_RDONLY|MS_REMOUNT, NULL); if (r < 0) { - umount_verbose(where); + (void) umount_verbose(where); return m->graceful ? 0 : r; } -- 2.47.3