_global_log() {
echo "$1" >> $check.log
- if $OPTIONS_HAVE_SECIONS; then
+ if $OPTIONS_HAVE_SECTIONS; then
echo "$1" >> ${REPORT_DIR}/check.log
fi
}
fi
$interrupt && echo "Interrupted!" | tee -a $check.log
- if $OPTIONS_HAVE_SECIONS; then
+ if $OPTIONS_HAVE_SECTIONS; then
$interrupt && echo "Interrupted!" | tee -a \
${REPORT_DIR}/check.log
fi