File seccheck-2.0_new_rpm_output_handle_more_filesystems_bnc746042.diff of Package seccheck.968

--- security-weekly.sh.bak	2012-05-31 14:53:59.718731689 +0200
+++ security-weekly.sh	2012-05-31 15:15:58.103480893 +0200
@@ -42,7 +42,7 @@
 done
 
 # get the ext2 and reiserfs mount points
-MNT=`/bin/mount | awk '/ ext2 | reiserfs | ext3 | jfs | xfs / {print$3}' | grep -v "/media" | xargs -s 4000 echo "/dev/"`
+MNT=`/bin/mount | grep -E "^/dev/"  | cut -d' ' -f 3 | grep -v "/media" | xargs  echo "/dev/"`
 
 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