WSL2-Linux-Kernel/tools/bootconfig/scripts
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
..
bconf2ftrace.sh tools/bootconfig: Add histogram syntax support to bconf2ftrace.sh 2021-08-16 11:39:50 -04:00
ftrace.sh tools/bootconfig: Add --init option for bconf2ftrace.sh 2020-09-18 22:17:13 -04:00
ftrace2bconf.sh tools/bootconfig: fix single & used for logical condition 2023-03-10 09:40:10 +01:00
xbc.sh tools/bootconfig: Add histogram syntax support to bconf2ftrace.sh 2021-08-16 11:39:50 -04:00