From a1b731f93b18670994f3b69f29602df8c7064f54 Mon Sep 17 00:00:00 2001 From: sdohuajia <63113882+sdohuajia@users.noreply.github.com> Date: Sat, 27 Jul 2024 17:25:17 +0800 Subject: [PATCH] Update Waku.sh --- Waku.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Waku.sh b/Waku.sh index 75daae1..9ea11c7 100644 --- a/Waku.sh +++ b/Waku.sh @@ -71,7 +71,7 @@ function install_node() { # 安装Waku echo "正在安装 Waku ..." git clone https://github.com/waku-org/nwaku-compose - cd nwaku-compose || exit + cd nwaku-compose || { echo "切换目录失败,请检查目录结构和权限。"; exit 1; } cp .env.example .env echo "请编辑 .env 文件并填写所需的信息:" @@ -119,7 +119,7 @@ function fix_errors() { function edit_env_file() { clear echo "正在编辑 .env 文件 ..." - cd nwaku-compose || exit + cd nwaku-compose || { echo "切换目录失败,请检查目录结构和权限。"; exit 1; } nano .env read -rp "按 Enter 返回菜单。" }