OSDN Git Service

[change] : var name (status -> _status)
authorhayao <shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:35:10 +0000 (10:35 +0900)
committerhayao <shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:35:10 +0000 (10:35 +0900)
build.sh

index 0db625f..145f48c 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -343,11 +343,11 @@ remove() {
 
 # 強制終了時にアンマウント
 umount_trap() {
-    local status=${?}
+    local _status=${?}
     umount_chroot
     _msg_error "It was killed by the user."
     _msg_error "The process may not have completed successfully."
-    exit ${status}
+    exit ${_status}
 }
 
 # 設定ファイルを読み込む