[packages/percona-server/v5.0.x: 188/202] localize vars

glen glen at pld-linux.org
Wed Oct 21 16:24:50 CEST 2015


commit 837104a095cbc1730b0c4e8264d7e6311faa3cbf
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 25 10:46:49 2013 +0300

    localize vars

 mysql.init | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/mysql.init b/mysql.init
index 696ba03..2a1bc3e 100755
--- a/mysql.init
+++ b/mysql.init
@@ -629,6 +629,7 @@ condrestart() {
 }
 
 status() {
+	local mysqldir addr port socket pid pids running datadir 
 	RETVAL=3
 	for mysqldir in $DB_CLUSTERS; do
 		mysqlstatus "$mysqldir"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/431f68fe79a66d5dfdd53f2655709e6c925fbc22



More information about the pld-cvs-commit mailing list