diff options
author | Kim Phillips <[email protected]> | 2018-06-29 12:46:52 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-07-11 10:01:51 -0300 |
commit | f6432b9f65001651412dbc3589d251534822d4ab (patch) | |
tree | 34fc4f3cffd3b3163aae11721a2922654e96a3be /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 98c6c8a1d00fba66625311730f80c6ceaa9c1d19 (diff) |
perf llvm-utils: Remove bashism from kernel include fetch script
Like system(), popen() calls /bin/sh, which may/may not be bash.
Script when run on dash and encounters the line, yields:
exit: Illegal number: -1
checkbashisms report on script content:
possible bashism (exit|return with negative status code):
exit -1
Remove the bashism and use the more portable non-zero failure
status code 1.
Signed-off-by: Kim Phillips <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Hendrik Brueckner <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sandipan Das <[email protected]>
Cc: Thomas Richter <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions