add new switch --disallow-exit

This commit is contained in:
Lennart Poettering 2008-08-06 19:39:12 +02:00
parent f1d2bf8408
commit 756fac8d04
11 changed files with 87 additions and 52 deletions

View file

@ -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;