diff --git a/scripts/Build-Target b/scripts/Build-Target index 1a4e6c121..0d2b08777 100755 --- a/scripts/Build-Target +++ b/scripts/Build-Target @@ -362,7 +362,7 @@ pkgloop_action() { # umount_chroot() { exec 201> /dev/null - if [ -z "$( fuser "${build_logs}/*.log" )" ]; then + if [ -z "$( fuser ${build_logs}/*.log )" ]; then umount -d -f $build_rock/{loop,config,download} 2> /dev/null umount -d -f -l $build_rock/{loop,config,download} 2> /dev/null umount -d -f $build_root/proc 2> /dev/null