]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bootconfig: Fix to return 0 if succeeded to show the bootconfig
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 16 Jun 2020 10:14:25 +0000 (19:14 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 17 Jun 2020 01:21:03 +0000 (21:21 -0400)
commitc1cfb0ec3ee54b4adad7d4f060512ad3857c9035
tree11bc2631873b0e14d4300f7cfd328e64dcc870c8
parent2362fc3af4001d6fc01f9d30049ca565092246ff
tools/bootconfig: Fix to return 0 if succeeded to show the bootconfig

Fix bootconfig to return 0 if succeeded to show the bootconfig
in initrd. Without this fix, "bootconfig INITRD" command
returns !0 even if the command succeeded to show the bootconfig.

Link: http://lkml.kernel.org/r/159230246566.65555.11891772258543514487.stgit@devnote2
Cc: stable@vger.kernel.org
Fixes: 81e719e5d9d9 ("tools: bootconfig: Add bootconfig command")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/bootconfig/main.c