]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: voidify umount_verbose()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 31 Jan 2020 14:10:26 +0000 (23:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 31 Jan 2020 14:10:29 +0000 (23:10 +0900)
Fixes CID#1415122.

src/nspawn/nspawn-mount.c

index 6afc31d824b345a3deecd9456a6caf677c9be7dc..a862355a64598d32737dd8e99b0713ccdfa70a1d 100644 (file)
@@ -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;
         }