summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-07-26 22:09:19 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-07-26 22:09:19 +0000
commita5a846eb500f1f999817d69214a3a8eaa8a8cebd (patch)
treec742b9752ae6dcae7d30b9c3642c465d70bb3852 /app-forensics/openscap/files
parentVersion bump (diff)
downloadhistorical-a5a846eb500f1f999817d69214a3a8eaa8a8cebd.tar.gz
historical-a5a846eb500f1f999817d69214a3a8eaa8a8cebd.tar.bz2
historical-a5a846eb500f1f999817d69214a3a8eaa8a8cebd.zip
Improved test_probes_process.patch for bug #423057.Thanks to corentin.labbe@geomatys.fr
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'app-forensics/openscap/files')
-rw-r--r--app-forensics/openscap/files/test_probes_process.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-forensics/openscap/files/test_probes_process.patch b/app-forensics/openscap/files/test_probes_process.patch
index 98ac75857d46..508c059e2a77 100644
--- a/app-forensics/openscap/files/test_probes_process.patch
+++ b/app-forensics/openscap/files/test_probes_process.patch
@@ -4,7 +4,7 @@
#!/usr/bin/env bash
-TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | awk '$1 != 2 && $2 != 2 {print $3}' | \
-+TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | grep -v '\[' | awk '$1 != 2 && $2 != 2 {print $3}' | \
++TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | grep -iE '^[a-z0-9A-Z \-]*$' | awk '$1 != 2 && $2 != 2 {print $3}' | \
sed -n '2,30p'`)
COUNTER=1