summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/python-use.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/python-use.c')
-rw-r--r--tools/perf/tests/python-use.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/python-use.c b/tools/perf/tests/python-use.c
index 7a52834ee0d0..fa79509da535 100644
--- a/tools/perf/tests/python-use.c
+++ b/tools/perf/tests/python-use.c
@@ -15,7 +15,7 @@ int test__python_use(int subtest __maybe_unused)
int ret;
if (asprintf(&cmd, "echo \"import sys ; sys.path.append('%s'); import perf\" | %s %s",
- PYTHONPATH, PYTHON, verbose ? "" : "2> /dev/null") < 0)
+ PYTHONPATH, PYTHON, verbose > 0 ? "" : "2> /dev/null") < 0)
return -1;
ret = system(cmd) ? -1 : 0;
OpenPOWER on IntegriCloud