diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-03 17:29:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-03 17:29:37 +0000 |
commit | e8ddfa8c44dd59e19711e8ab02788d6163215ba6 (patch) | |
tree | 29265323812273a7674dd2c3168e6c4935428adf /lib | |
parent | 060533c496ce06393f8b83c3aa398bd2c191a8aa (diff) | |
download | iurt-e8ddfa8c44dd59e19711e8ab02788d6163215ba6.tar iurt-e8ddfa8c44dd59e19711e8ab02788d6163215ba6.tar.gz iurt-e8ddfa8c44dd59e19711e8ab02788d6163215ba6.tar.bz2 iurt-e8ddfa8c44dd59e19711e8ab02788d6163215ba6.tar.xz iurt-e8ddfa8c44dd59e19711e8ab02788d6163215ba6.zip |
(clean_and_build_chroot) failing to mount /dev/pts is not a fatal error
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Iurt/Chroot.pm | 5 |
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"); |