summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pa-sink-ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c
index 5c2f7f5..69f4fcc 100644
--- a/src/pa-sink-ctl.c
+++ b/src/pa-sink-ctl.c
@@ -355,6 +355,7 @@ main(int argc, char** argv)
PA_CONTEXT_NOAUTOSPAWN, NULL)) {
interface_clear(ctx);
g_printerr("error: pa_context_connect() failed.\n");
+ return -1;
}
g_main_loop_run(ctx->loop);