improve variable names
This commit is contained in:
parent
bad0d7fa98
commit
3530d2c34f
10
evocheck.sh
10
evocheck.sh
|
@ -127,14 +127,14 @@ IS_RSYNC=1
|
|||
|
||||
# logging function
|
||||
failed() {
|
||||
test=$1
|
||||
check_name=$1
|
||||
shift
|
||||
comments=$@
|
||||
checl_comments=$@
|
||||
|
||||
if [ -n "${comments}" ] && [ "${VERBOSE}" = 1 ]; then
|
||||
printf "%s FAILED! %s\n" "${test}" "${comments}" 2>&1
|
||||
if [ -n "${check_comments}" ] && [ "${VERBOSE}" = 1 ]; then
|
||||
printf "%s FAILED! %s\n" "${check_name}" "${check_comments}" 2>&1
|
||||
else
|
||||
printf "%s FAILED!\n" "${test}" 2>&1
|
||||
printf "%s FAILED!\n" "${check_name}" 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue