aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security.sh
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2008-01-11 13:31:09 +0000
committerAndreas Hasenack <andreas@mandriva.com>2008-01-11 13:31:09 +0000
commit949ca6076e8b90695f7dba5d0f0e860ec731e138 (patch)
tree09f5ddd4d01a9b1f549a4cecf3bee56e8c514953 /cron-sh/security.sh
parent8008f5d72be144a46b1cb48613e0dc785aee1aad (diff)
downloadmsec-949ca6076e8b90695f7dba5d0f0e860ec731e138.tar
msec-949ca6076e8b90695f7dba5d0f0e860ec731e138.tar.gz
msec-949ca6076e8b90695f7dba5d0f0e860ec731e138.tar.bz2
msec-949ca6076e8b90695f7dba5d0f0e860ec731e138.tar.xz
msec-949ca6076e8b90695f7dba5d0f0e860ec731e138.zip
- oops, revert 232939, more changes got into that commit than I wanted
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-xcron-sh/security.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 0440e14..5048b58 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -174,7 +174,7 @@ if [[ ${RPM_CHECK} == yes ]]; then
rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{INSTALLTIME}\n" | sort > ${RPM_QA_TODAY}
rm -f ${RPM_VA_TODAY}.tmp
- cut -f 1 < ${RPM_QA_TODAY} | grep -v '^dev-[0-9]' | xargs -s 1024 nice --adjustment=+19 rpm -V | grep '^..5' | sort > ${RPM_VA_TODAY}.tmp
+ nice --adjustment=+19 rpm -V `cut -f 1 < ${RPM_QA_TODAY} | grep -v '^dev-[0-9]'` | grep '^..5' | sort > ${RPM_VA_TODAY}.tmp
grep -v '^..........c.' ${RPM_VA_TODAY}.tmp | sed 's/^............//' | sort > ${RPM_VA_TODAY}
grep '^..........c.' ${RPM_VA_TODAY}.tmp | sed 's/^............//' | sort > ${RPM_VA_CONFIG_TODAY}
rm -f ${RPM_VA_TODAY}.tmp