[packages/mysql/MYSQL_5_0] localize vars

glen glen at pld-linux.org
Thu Nov 14 10:22:12 CET 2013


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/mysql.git/commitdiff/837104a095cbc1730b0c4e8264d7e6311faa3cbf



More information about the pld-cvs-commit mailing list