diff options
author | wangbiao <biao716.wang@samsung.com> | 2024-08-19 16:54:30 +0900 |
---|---|---|
committer | wangbiao <biao716.wang@samsung.com> | 2024-08-19 16:55:45 +0900 |
commit | 1748d60179c340d00113ae50ac48b80d9afc1fca (patch) | |
tree | e01064cd3ad491e52b3f1b4c702d2099bd061208 | |
parent | e402da0d3399d7cda87077ab811910d781a10e0f (diff) | |
download | build-1748d60179c340d00113ae50ac48b80d9afc1fca.tar.gz build-1748d60179c340d00113ae50ac48b80d9afc1fca.tar.bz2 build-1748d60179c340d00113ae50ac48b80d9afc1fca.zip |
umount with -f option
Change-Id: Ia1f17e5595ab0ad8a3b1ce7edf319b040cbdbb20
Signed-off-by: wangbiao <biao716.wang@samsung.com>
-rwxr-xr-x | common_functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common_functions b/common_functions index 4168b44..2d537b2 100755 --- a/common_functions +++ b/common_functions @@ -158,7 +158,7 @@ buildroot_umount() { # XXX: use stat -f /dev/pts/ -c %T to check whether it's mounted and not suppress errors? local LOOP_CNT=1 while [ $LOOP_CNT -le 20 ] ; do - umount -n "$BUILD_ROOT/$d" 2>/dev/null + umount -n -l -f "$BUILD_ROOT/$d" 2>/dev/null if test $? -ne 0; then break fi |