summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-06 19:39:12 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-06 19:39:12 +0200
commit756fac8d0433d02819d3910238ebf1b7a33a3046 (patch)
tree92da910d93ed3741d2629ea124f009546bcc629e /src/utils
parentf1d2bf84089b1e5b5988a5e5d6d571a507a52337 (diff)
add new switch --disallow-exit
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/pactl.c4
1 files changed, 2 insertions, 2 deletions
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;