diff options
-rwxr-xr-x | helpers/lh_chroot_devpts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_devpts b/helpers/lh_chroot_devpts index 0cdb280..f59e91f 100755 --- a/helpers/lh_chroot_devpts +++ b/helpers/lh_chroot_devpts @@ -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 |