fix: checkmk_agent module renamed, main program reordering, conf_disks fixed, few typos
This commit is contained in:
@@ -20,8 +20,8 @@ function terminate()
|
||||
prnt E "$1 reçu, sortie immédiate."
|
||||
die 128 --force
|
||||
}
|
||||
trap terminate 'Ctrl + C' SIGINT
|
||||
trap terminate 'SIGTERM' SIGTERM
|
||||
trap "terminate 'Ctrl + C'" SIGINT
|
||||
trap "terminate 'SIGTERM'" SIGTERM
|
||||
|
||||
function error()
|
||||
{
|
||||
@@ -49,7 +49,7 @@ function error()
|
||||
die $error_code
|
||||
}
|
||||
# Trigger error function on error
|
||||
trap error ${LINENO} ERR
|
||||
trap "error ${LINENO}" ERR
|
||||
|
||||
# Print a backtrace
|
||||
function backtrace
|
||||
|
||||
Reference in New Issue
Block a user