diff mbox series

check: fix misspelled variable name for sections

Message ID 9609363e0dfbe7098ded407898b8b78c651dae0f.1603204642.git.fdmanana@suse.com (mailing list archive)
State New, archived
Headers show
Series check: fix misspelled variable name for sections | expand

Commit Message

Filipe Manana Oct. 20, 2020, 2:42 p.m. UTC
From: Filipe Manana <fdmanana@suse.com>

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>
---
 check | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Josef Bacik Oct. 21, 2020, 2:39 p.m. UTC | #1
On 10/20/20 10:42 AM, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
> 
> 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>

Thanks,

Josef
diff mbox series

Patch

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