fix bug
This commit is contained in:
+7
-3
@@ -119,6 +119,10 @@ url_encode() {
|
||||
echo "$encoded"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
# 检查 Bash 是否已安装
|
||||
check_bash_installed() {
|
||||
if ! command -v bash &> /dev/null; then
|
||||
echo "错误: Bash 未安装!"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user