This commit is contained in:
garywill 2023-01-07 09:08:18 +08:00
parent 7ec589b1c2
commit e3941c560f
1 changed files with 1 additions and 1 deletions

2
lnxrouter Normal file → Executable file
View File

@ -1223,7 +1223,7 @@ cleanup() {
#kill -9 -$pgid #kill -9 -$pgid
} }
# NOTE function die() is designed not to be used before init_trap() executed # NOTE function die() is designed NOT to be used before init_trap() executed
die() { # SIGUSR2 die() { # SIGUSR2
echo "Error occured" echo "Error occured"
[[ -n "$1" ]] && echo -e "\nERROR: $1\n" >&2 [[ -n "$1" ]] && echo -e "\nERROR: $1\n" >&2