diff options
author | Ian Rogers <[email protected]> | 2024-01-23 20:30:14 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-01-26 10:51:49 -0300 |
commit | 1c2124ec8431f88f5c122be73cb4b784b558d600 (patch) | |
tree | 6cc584c7398a2dfe77552d53cd95664a926b61f0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a734c7f969750302b1150ef20468704498f74e64 (diff) |
perf test shell script: Fix test for python being disabled
"grep -cv" can exit with an error code that causes the "set -e" to abort
the script. Switch to using the grep exit code in the if condition to
avoid this.
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Athira Rajeev <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Shirisha G <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions