[packages/mysql] localize vars

glen glen at pld-linux.org
Thu Apr 25 09:47:26 CEST 2013


commit 8b76851363cb3fa3b7f69f1f274a63a407c1cd1c
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 2a1a01d..e2a5907 100755
--- a/mysql.init
+++ b/mysql.init
@@ -623,6 +623,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/mysql.git/commitdiff/8b76851363cb3fa3b7f69f1f274a63a407c1cd1c



More information about the pld-cvs-commit mailing list