Improving check for a mounted chroot/dev/pts to cover all terminals, not just the 0th (Closes: #459697, #459779).

This commit is contained in:
Daniel Baumann 2008-08-25 12:07:00 +02:00
parent d0bd7bc265
commit 14fe5c6fb2
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ case "${1}" in
# Unmounting /dev/pts
if [ "${LH_USE_FAKEROOT}" != "enabled" ]
then
if [ -e chroot/dev/pts/0 ]
if Find_files chroot/dev/pts/*
then
${LH_ROOT_COMMAND} umount chroot/dev/pts
fi