diff --git a/src/nspawn/nspawn-mount.c b/src/nspawn/nspawn-mount.c index 6afc31d824..a862355a64 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; }