diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-03-06 08:31:12 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-03-06 08:31:12 +0100 |
commit | a4dd369a3696b0fe0061d56b0aa86f95c909011e (patch) | |
tree | 4139be92842d1db0bd3771da189d274772cee330 | |
parent | 7979253b4ddde0561094f214ac6efc6fc23e3720 (diff) |
Make MPDControl wait for MPD to close the connection.
-rw-r--r-- | functions.config | 2 |
1 files changed, 1 insertions, 1 deletions
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 |