dect
/
linux-2.6
Archived
13
0
Fork 0

perf/trace/scripting: failed-syscalls-by-pid script cleanup

A small fixe for the failed syscalls by pid script:

 - silence the match output in the shell script

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <1273466820-9330-8-git-send-email-tzanussi@gmail.com>
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Tom Zanussi 2010-05-09 23:46:58 -05:00 committed by Arnaldo Carvalho de Melo
parent 3824a4e8da
commit a4ab0c1297
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# description: system-wide failed syscalls, by pid
# args: [comm]
if [ $# -gt 0 ] ; then
if ! expr match "$1" "-" ; then
if ! expr match "$1" "-" > /dev/null ; then
comm=$1
shift
fi