mirror of
https://github.com/garywill/linux-router.git
synced 2025-11-08 22:04:04 +01:00
text
This commit is contained in:
parent
7ec589b1c2
commit
e3941c560f
2
lnxrouter
Normal file → Executable file
2
lnxrouter
Normal file → Executable 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user