mirror of
https://github.com/deajan/obackup.git
synced 2024-12-25 23:13:41 +01:00
SendAlert arg check is now ranged
This commit is contained in:
parent
5b9f6c5fa2
commit
134aaec0da
@ -222,7 +222,7 @@ function KillAllChilds {
|
||||
function SendAlert {
|
||||
local runAlert="${1:-false}" # Specifies if current message is sent while running or at the end of a run
|
||||
|
||||
__CheckArguments 0 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG
|
||||
__CheckArguments 0-1 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG
|
||||
|
||||
local mail_no_attachment=
|
||||
local attachment_command=
|
||||
|
Loading…
Reference in New Issue
Block a user