[PC-BSD Commits] r12139 - pcbsd/current/src-sh/pc-updatemanager

svn at pcbsd.org svn at pcbsd.org
Wed Aug 17 11:05:33 PDT 2011


Author: kris
Date: 2011-08-17 11:05:32 -0700 (Wed, 17 Aug 2011)
New Revision: 12139

Modified:
   pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
Log:

Redirect warning text when no .upd files exist



Modified: pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2011-08-17 00:08:30 UTC (rev 12138)
+++ pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2011-08-17 18:05:32 UTC (rev 12139)
@@ -200,7 +200,7 @@
 	echo ""
 
 	# Now check which stand-alone updates are available
-	for i in `ls *.upd`
+	for i in `ls *.upd 2>/dev/null`
 	do
    	  if [ ! -e "${INSDIR}/${SYSVER}/${i}" ]
    	  then



More information about the Commits mailing list