diff options
| author | Gabriele Monaco <gmonaco@redhat.com> | 2026-07-23 09:45:19 +0200 |
|---|---|---|
| committer | Gabriele Monaco <gmonaco@redhat.com> | 2026-07-31 13:53:52 +0200 |
| commit | bc4eca3f24e2806c0117215c671013f5297141b6 (patch) | |
| tree | 86fbde5679bf88c24c45e2fbdf0a9b10feabd790 /tools/perf/scripts/python | |
| parent | d9e4c61a12dd4ac58a780bc8a6b3bb1a9a8e2120 (diff) | |
tools/rv: Fix exit status when monitor execution fails
When running "rv mon" on a monitor that is already enabled, the tool
fails to start but incorrectly exits with a success status (0).
Fix the exit condition to ensure it returns a failure code on any
execution error. Also use the standard EXIT_SUCCESS/EXIT_FAILURE macros
throughout the file.
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260723074534.43521-3-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
