From a4dd369a3696b0fe0061d56b0aa86f95c909011e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 6 Mar 2012 08:31:12 +0100 Subject: Make MPDControl wait for MPD to close the connection. --- functions.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.config b/functions.config index ec6949e..6cd76e4 100644 --- a/functions.config +++ b/functions.config @@ -82,7 +82,7 @@ AddToFunc RandomWall DestroyFunc MPDControl AddToFunc MPDControl -+ I Exec /bin/echo -e "$0\nclose"|nc localhost 6600 ++ I Exec /bin/echo -e "$0\nclose"|nc -q -1 localhost 6600 ############################ #Don't steal focus -- cgit v1.2.3