From ef878eade1b5c3418b3be99f6ef1b59d01df8125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=8B=E5=B0=8F=E9=99=8C?= Date: Sun, 13 Oct 2024 16:38:06 +0800 Subject: [PATCH] 111 --- index.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.sh b/index.sh index c4bb3c6..890de97 100644 --- a/index.sh +++ b/index.sh @@ -5,7 +5,7 @@ if [ $# -eq 0 ]; then PORT=6001 echo "未提供端口号,使用默认端口 $PORT" else - PORT=\$1 # 从命令行参数获取端口号 + PORT=$1 # 从命令行参数获取端口号 fi # 定义文件