From b74c255a97cd08b899b34fb44937d45ab6592ace Mon Sep 17 00:00:00 2001 From: "jingui.ren" Date: Tue, 2 Apr 2019 15:57:13 +0800 Subject: [PATCH] Fix bugs when exit at installing packages Change-Id: I06683642001182ea45a3b29366be62d80b5a6038 --- init_buildsystem | 1 + 1 file changed, 1 insertion(+) diff --git a/init_buildsystem b/init_buildsystem index 43ac57a..0a4c0fb 100755 --- a/init_buildsystem +++ b/init_buildsystem @@ -162,6 +162,7 @@ cleanup_and_exit() { umount -n "$BUILD_ROOT/proc" 2> /dev/null || true umount -n "$BUILD_ROOT/dev/pts" 2> /dev/null || true umount -n "$BUILD_ROOT/mnt" 2> /dev/null || true + rm -f $BUILD_IS_RUNNING 2> /dev/null || true exit ${1:-0} } -- 2.34.1