summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2020-10-20 15:42:10 +0100
committerEryu Guan <guaneryu@gmail.com>2020-10-21 23:23:12 +0800
commit2eb35a8594dcbc4b024caf9d82579e1d23ca103f (patch)
treeaae2eec7ee6de412f734b602720ec2a1b13c3124 /check
parent85a3354edab061e6a0088933bc27ad984d89709d (diff)
check: fix misspelled variable name for sections
We have some places that refer to the variable OPTIONS_HAVE_SECTIONS has OPTIONS_HAVE_SECIONS, obviously a typo. So fix them. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'check')
-rwxr-xr-xcheck4
1 files changed, 2 insertions, 2 deletions
diff --git a/check b/check
index 8b5e241c..5072dd82 100755
--- a/check
+++ b/check
@@ -393,7 +393,7 @@ _wipe_counters()
_global_log() {
echo "$1" >> $check.log
- if $OPTIONS_HAVE_SECIONS; then
+ if $OPTIONS_HAVE_SECTIONS; then
echo "$1" >> ${REPORT_DIR}/check.log
fi
}
@@ -441,7 +441,7 @@ _wrapup()
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