[packages/percona-toolkit] force RC_LOGGING=no

glen glen at pld-linux.org
Wed Apr 30 19:07:27 CEST 2014


commit 016f37e7e614f2e9fa468adb0a562cd1ddee9300
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 30 20:04:11 2014 +0300

    force RC_LOGGING=no
    
    otherwise we would have to escape for shell-hell

 pt-kill.init | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/pt-kill.init b/pt-kill.init
index f58dbf5..0550287 100755
--- a/pt-kill.init
+++ b/pt-kill.init
@@ -43,6 +43,8 @@ start() {
 	msg_starting "pt-kill"
 	# FIXME: instead of removing, fix stop process
 	rm -f $sentinel
+	# use RC_LOGGING=no, because we need to escape ";" from shell
+	RC_LOGGING=no \
 	daemon --user $user --redirfds \
 		/usr/bin/pt-kill --config $config --daemonize --pid $pidfile --sentinel $sentinel "$dsn"
 	RETVAL=$?
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-toolkit.git/commitdiff/016f37e7e614f2e9fa468adb0a562cd1ddee9300



More information about the pld-cvs-commit mailing list