summaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>2023-02-22 02:27:35 +0300
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2023-02-22 02:27:35 +0300
commitcf8c59a3756b2735c409a9b3ac1e4ec556546a7a (patch)
treee1e8238626ed0bf2b5a75fa3fbb09bab73be7a3c /init/main.c
parentc9c3395d5e3dcc6daee66c6908354d47bf98cb0c (diff)
downloadlinux-cf8c59a3756b2735c409a9b3ac1e4ec556546a7a.tar.xz
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: 1eaad3ac3f39 ("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>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions