linux/tools/bootconfig
Antonio Alvarez Feijoo cf8c59a375 tools/bootconfig: fix single & used for logical condition
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>
2023-02-22 08:27:35 +09:00
..
include/linux bootconfig: Cleanup dummy headers in tools/bootconfig 2021-10-10 22:16:02 -04:00
samples
scripts tools/bootconfig: fix single & used for logical condition 2023-02-22 08:27:35 +09:00
.gitignore
main.c bootconfig: Cleanup dummy headers in tools/bootconfig 2021-10-10 22:16:02 -04:00
Makefile bootconfig: Cleanup dummy headers in tools/bootconfig 2021-10-10 22:16:02 -04:00
test-bootconfig.sh tools/bootconfig: Show whole test command for each test case 2021-09-08 15:29:16 -04:00