This commit is contained in:
蒋小陌 2024-10-13 16:38:06 +08:00
parent 361de1ac55
commit ef878eade1

View File

@ -5,7 +5,7 @@ if [ $# -eq 0 ]; then
PORT=6001
echo "未提供端口号,使用默认端口 $PORT"
else
PORT=\$1 # 从命令行参数获取端口号
PORT=$1 # 从命令行参数获取端口号
fi
# 定义文件