Just a small point, why call grep twice below? - if you are looking for something like "Filesystem state:<something>error<something>" then use
egrep 'Filesystem state:.*error' >> with_error=`dumpe2fs -h $DEVICE 2>/dev/null | grep "Filesystem >> state:" | grep "error"` >> if [ -n "$with_error" ]; then >> ... >> >> _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
