fix: 在多个脚本中添加set -e以确保错误处理

This commit is contained in:
TsMask committed 2025-08-15 11:19:34 +08:00
1 parent 299b87d95b
commit 9036324202
7 files changed
+7

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# Check if Docker is installed
if command -v docker &> /dev/null; then
+1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# Default Version
VERSION="1.0.0"
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
declare -A NE_LIST
# Default network element number ne_id = 001
+1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
OMCBinFile=/usr/local/bin/omc
OMCEtcDir=/usr/local/etc/omc
+1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3
+1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3
+1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3