From 756fac8d0433d02819d3910238ebf1b7a33a3046 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 6 Aug 2008 19:39:12 +0200 Subject: add new switch --disallow-exit --- src/utils/pactl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/pactl.c b/src/utils/pactl.c index f5961a1b..3f00df1b 100644 --- a/src/utils/pactl.c +++ b/src/utils/pactl.c @@ -607,8 +607,8 @@ static void context_state_callback(pa_context *c, void *userdata) { break; case EXIT: - pa_operation_unref(pa_context_exit_daemon(c, NULL, NULL)); - drain(); + pa_operation_unref(pa_context_exit_daemon(c, simple_callback, NULL)); + break; case LIST: actions = 8; -- cgit