diff --git a/1.sh b/1.sh index c66da03..dfe379e 100644 --- a/1.sh +++ b/1.sh @@ -21,7 +21,7 @@ if [ -f /etc/debian_version ]; then print_green "已将 bash 设置为默认 shell" elif [ -f /etc/alpine-release ]; then sed -i 's/^root:.*/root:\/bin\/bash/' /etc/passwd - print_green "已将 bash 设置为默认 shell" + print_yellow "已将 bash 设置为默认 shell" fi # 先检查是 Debian 还是 Alpine