aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index ca0882e..0f196e0 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -88,7 +88,7 @@ sub clean_and_build_chroot {
sudo($config, "--umount", "$chroot/proc");
return;
}
- if (system("$sudo mount none -t tmpfs $chroot/dev/shm")) {
+ if (!sudo($config, '--bindmount', "/dev/shm", "$chroot/dev/shm")) {
plog('WARNING', "Failed to mount /dev/shm");
}
if ($run->{icecream}) {