[PC-BSD Commits] r19043 - pcbsd/current/src-sh/pc-metapkgmanager

svn at pcbsd.org svn at pcbsd.org
Tue Sep 11 08:17:14 PDT 2012


Author: kris
Date: 2012-09-11 15:17:14 +0000 (Tue, 11 Sep 2012)
New Revision: 19043

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

Use exit_err from libsh



Modified: pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-09-11 15:16:58 UTC (rev 19042)
+++ pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-09-11 15:17:14 UTC (rev 19043)
@@ -396,12 +396,6 @@
 
 }
 
-exit_err() {
-	echo "ERROR: $1"
-	echo "ERROR: $1" >>${LOGFILE}
-	exit 1
-}
-
 # Check on a meta-pkg, see if its installed, partially installed, or not. 
 stat_metapkg() {
 	if [ -z "$1" ] ; then exit_err "No meta-pkg specified!" ; fi



More information about the Commits mailing list