Update core.func
This commit is contained in:
parent
91852f78ca
commit
87143ae90f
@ -294,14 +294,6 @@ __curl_err_handler() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
detect_os() {
|
||||
case "$PCT_OSTYPE" in
|
||||
alpine) CORE_OS="alpine" ;;
|
||||
debian | ubuntu) CORE_OS="debian" ;;
|
||||
*) CORE_OS="unknown" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
fatal() {
|
||||
msg_error "$1"
|
||||
kill -INT $$
|
||||
|
Loading…
x
Reference in New Issue
Block a user