Skip to content
Commit cf8c59a3 authored by Antonio Alvarez Feijoo's avatar Antonio Alvarez Feijoo Committed by Masami Hiramatsu (Google)
Browse files

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: 1eaad3ac ("tools/bootconfig: Use per-group/all enable option in ftrace2bconf script")
Signed-off-by: default avatarAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Cc: stable@vger.kernel.org
Acked-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
parent c9c3395d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment