From c8be47aa63eeb184e7157ca980d9af62390acd84 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 26 Dec 2021 02:07:24 -0600 Subject: [PATCH] Exit out on xmllint error --- Scripts/7D2D-Manage.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/7D2D-Manage.bash b/Scripts/7D2D-Manage.bash index 91617f3..076ef19 100644 --- a/Scripts/7D2D-Manage.bash +++ b/Scripts/7D2D-Manage.bash @@ -262,6 +262,7 @@ start_server() { log "info" "Linting $(important "${xml_file}")..." if ! xmllint "${xml_file}" > /dev/null; then log "error" "Xml parsing error in ${xml_file}, resolve the error and attempt to start again" + return 1 fi done else