1
0

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

This commit is contained in:
TsMask
2025-08-15 11:19:34 +08:00
parent 299b87d95b
commit 9036324202
7 changed files with 7 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# Check if Docker is installed
if command -v docker &> /dev/null; then

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# Default Version
VERSION="1.0.0"

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
declare -A NE_LIST
# Default network element number ne_id = 001

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
OMCBinFile=/usr/local/bin/omc
OMCEtcDir=/usr/local/etc/omc

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3

1
pkg.sh
View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3