diff options
author | Andreas Hasenack <andreas@mandriva.com> | 2008-01-11 17:00:43 +0000 |
---|---|---|
committer | Andreas Hasenack <andreas@mandriva.com> | 2008-01-11 17:00:43 +0000 |
commit | 974690da7344453c746a5931a1bcc4c4ab580f64 (patch) | |
tree | d57c740d5eab5a8ee5b645560687d1920da0a1eb | |
parent | 1f952890b68b15a091a864187cb3d7336426cc51 (diff) | |
download | msec-974690da7344453c746a5931a1bcc4c4ab580f64.tar msec-974690da7344453c746a5931a1bcc4c4ab580f64.tar.gz msec-974690da7344453c746a5931a1bcc4c4ab580f64.tar.bz2 msec-974690da7344453c746a5931a1bcc4c4ab580f64.tar.xz msec-974690da7344453c746a5931a1bcc4c4ab580f64.zip |
- don't place too many packages in the command line (#36656)
-rwxr-xr-x | cron-sh/security.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh index 5048b58..0440e14 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 - nice --adjustment=+19 rpm -V `cut -f 1 < ${RPM_QA_TODAY} | grep -v '^dev-[0-9]'` | grep '^..5' | sort > ${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 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 |