File seccheck-2.0_withoutmedia-bug47024.diff of Package seccheck.968

diff -ru seccheck-2.0.orig/security-weekly.sh seccheck-2.0/security-weekly.sh
--- seccheck-2.0.orig/security-weekly.sh	2005-07-27 14:54:32.000000000 +0200
+++ seccheck-2.0/security-weekly.sh	2005-07-27 16:07:41.000000000 +0200
@@ -42,7 +42,7 @@
 done
 
 # get the ext2 and reiserfs mount points
-MNT=`/bin/mount | awk '/ ext2 | reiserfs | ext3 | jfs | xfs / {print$3}'| xargs -s 4000 echo`
+MNT=`/bin/mount | awk '/ ext2 | reiserfs | ext3 | jfs | xfs / {print$3}' | grep -v "/media" | xargs -s 4000 echo`
 
 test -z "$MAILER" && test -x "/usr/sbin/sendmail" && MAILER="/usr/sbin/sendmail"
 test -z "$MAILER" && test -x "/usr/bin/mailx" && MAILER="/usr/bin/mailx"
openSUSE Build Service is sponsored by