aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Chroot.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt/Chroot.pm')
-rw-r--r--lib/Iurt/Chroot.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index c1a76cc..67f93ff 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -89,10 +89,7 @@ sub clean_and_build_chroot {
return;
}
if (system("$sudo mount none -t tmpfs $chroot/dev/shm")) {
- plog('ERROR', "Failed to mount /dev/shm");
- sudo($config, "--umount", "$chroot/proc");
- sudo($config, "--umount", "$chroot/dev/pts");
- return;
+ plog('WARNING', "Failed to mount /dev/shm");
}
if ($run->{icecream}) {
system("$sudo mkdir -p $chroot/var/cache/icecream");