projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'perf-tools-for-v6.9-2024-03-13' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-microblaze.git]
/
tools
/
lib
/
subcmd
/
run-command.c
diff --git
a/tools/lib/subcmd/run-command.c
b/tools/lib/subcmd/run-command.c
index
5cdac21
..
d435eb4
100644
(file)
--- a/
tools/lib/subcmd/run-command.c
+++ b/
tools/lib/subcmd/run-command.c
@@
-122,6
+122,8
@@
int start_command(struct child_process *cmd)
}
if (cmd->preexec_cb)
cmd->preexec_cb();
+ if (cmd->no_exec_cmd)
+ exit(cmd->no_exec_cmd(cmd));
if (cmd->exec_cmd) {
execv_cmd(cmd->argv);
} else {