Commit 8d79c281 authored by Tails developers's avatar Tails developers
Browse files

Bail out properly due to chroot mount errors.

parent a76ed56c
......@@ -62,7 +62,8 @@ setup_browser_chroot () {
mount -t tmpfs tmpfs ${cow} && \
mount -t aufs -o "noatime,noxino,dirs=${aufs_dirs}" aufs ${chroot} && \
mount -t proc proc ${chroot}/proc && \
mount --bind /dev ${chroot}/dev
mount --bind /dev ${chroot}/dev || \
return 1
# Workaround for #6110
chmod -t ${cow}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment