mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
perf tools: Remove die() call
We can just use the exit() right after the branch calling die(). Link: http://lkml.kernel.org/n/tip-90athn06d7atf2jkpfvq1iic@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
f3eda8f573
commit
427748068a
1 changed files with 2 additions and 1 deletions
|
@ -378,7 +378,8 @@ static void execv_dashed_external(const char **argv)
|
|||
if (status != -ERR_RUN_COMMAND_EXEC) {
|
||||
if (IS_RUN_COMMAND_ERR(status)) {
|
||||
do_die:
|
||||
die("unable to run '%s'", argv[0]);
|
||||
pr_err("FATAL: unable to run '%s'", argv[0]);
|
||||
status = -128;
|
||||
}
|
||||
exit(-status);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue