error "called function ${FUNCNAME[1]} expected ${expected} params, but got ${count} by caller function ${FUNCNAME[2]} (line ${BASH_LINENO[2]})"
exit 1
fi
...
...
@@ -116,7 +116,7 @@ check_argument_count() {
check_argument_notempty(){
local param="$1"
if[-z"${param}"];then
if[[-z"${param}"]];then
error "called function ${FUNCNAME[1]} expected non-empty params, but some are empty set in line ${BASH_LINENO[0]}, eventually taken from caller function ${FUNCNAME[1]} (line ${BASH_LINENO[1]})"