From: <sc...@hy...> - 2008-03-23 02:17:00
|
Author: scottmf Date: 2008-03-22 19:16:56 -0700 (Sat, 22 Mar 2008) New Revision: 8429 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=8429 Modified: trunk/plugins/xml/sendmail-plugin.xml Log: [HHQ-1626] redirected cd output to /dev/null in case it fails Modified: trunk/plugins/xml/sendmail-plugin.xml =================================================================== --- trunk/plugins/xml/sendmail-plugin.xml 2008-03-23 02:15:08 UTC (rev 8428) +++ trunk/plugins/xml/sendmail-plugin.xml 2008-03-23 02:16:56 UTC (rev 8429) @@ -47,12 +47,12 @@ [ -z "$msgdir" -o ! -r "$msgdir" ] && exit 1 -cd $msgdir +cd $msgdir > /dev/null 2>&1 [ $? != 0 ] && exit 1 messfiles=`find * -print 2>/dev/null | wc -w` -cd $premsgdir +cd $premsgdir > /dev/null 2>&1 [ $? != 0 ] && exit 1 premessfiles=`find * -print 2>/dev/null | wc -w` |