SVN: rc-scripts/trunk/rc.d/init.d/functions

baggins baggins at pld-linux.org
Thu Apr 26 17:24:09 CEST 2007


Author: baggins
Date: Thu Apr 26 17:24:06 2007
New Revision: 8471

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
- typeset local in check_portmapper


Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions	(original)
+++ rc-scripts/trunk/rc.d/init.d/functions	Thu Apr 26 17:24:06 2007
@@ -880,6 +880,8 @@
 
 # Check if any flavor of portmapper is running
 check_portmapper() {
+	typeset RPCINFO
+
 	RPCINFO=$(which rpcinfo)
 	if [ -x "$RPCINFO" ]; then
 		if $RPCINFO -p localhost >/dev/null 2>/dev/null ; then


More information about the pld-cvs-commit mailing list