diff options
author | Andreas Hasenack <andreas@mandriva.com> | 2008-01-11 13:28:21 +0000 |
---|---|---|
committer | Andreas Hasenack <andreas@mandriva.com> | 2008-01-11 13:28:21 +0000 |
commit | 8008f5d72be144a46b1cb48613e0dc785aee1aad (patch) | |
tree | d7513d2f40034e50be709e8b1a0cebd455adb4e9 /cron-sh | |
parent | 9501f9cc00da922dfc0c71a2d94c578df9cd8e84 (diff) | |
download | msec-8008f5d72be144a46b1cb48613e0dc785aee1aad.tar msec-8008f5d72be144a46b1cb48613e0dc785aee1aad.tar.gz msec-8008f5d72be144a46b1cb48613e0dc785aee1aad.tar.bz2 msec-8008f5d72be144a46b1cb48613e0dc785aee1aad.tar.xz msec-8008f5d72be144a46b1cb48613e0dc785aee1aad.zip |
- properly dereference symlinks when checking for remote filesystem (#14387)
Diffstat (limited to 'cron-sh')
-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 |