linux/tools/bootconfig
Antonio Alvarez Feijoo 37a38ff7ed tools/bootconfig: fix single & used for logical condition
commit cf8c59a375 upstream.

A single & will create a background process and return true, so the grep
command will run even if the file checked in the first condition does not
exist.

Link: https://lore.kernel.org/all/20230112114215.17103-1-antonio.feijoo@suse.com/

Fixes: 1eaad3ac3f ("tools/bootconfig: Use per-group/all enable option in ftrace2bconf script")
Signed-off-by: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Cc: stable@vger.kernel.org
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:40:10 +01:00
..
include/linux tools/bootconfig: Define memblock_free_ptr() to fix build error 2021-09-15 09:49:48 -07:00
samples tools/bootconfig: Support mixed value and subkey test cases 2021-06-10 13:41:26 -04:00
scripts tools/bootconfig: fix single & used for logical condition 2023-03-10 09:40:10 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
main.c bootconfig: Fix missing return check of xbc_node_compose_key function 2021-09-08 15:28:50 -04:00
Makefile bootconfig: Support O=<builddir> option 2020-03-03 17:38:42 -05:00
test-bootconfig.sh tools/bootconfig: Show whole test command for each test case 2021-09-08 15:29:16 -04:00