Skip to content

Commit

Permalink
set mirror script exit but not throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
Paper-Dragon committed Oct 13, 2024
1 parent 1780214 commit 1e935f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ is_root() {
check_version() {
if [ "$VERSION" != "7" ]; then
echo -e "${Error} ${RedBG} 该脚本仅适用于CentOS 7,当前系统版本为: $VERSION ${Font}"
exit 1
exit 0
fi
echo -e "${OK} ${GreenBG} 确认当前系统版本为CentOS 7 ${Font}"
}
Expand Down

0 comments on commit 1e935f3

Please sign in to comment.