diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-08-05 17:46:51 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-08-05 17:46:51 +0200 |
commit | cb14b41537b27bf96d32890e60b54ac7ede13c5f (patch) | |
tree | afadc6c602851712b495a44915c9aa4e541fb427 | |
parent | 2cf5bf7ac1e48e394f9f01cb233b095e313f98bb (diff) |
pw-cat: enable rtkit
-rw-r--r-- | src/tools/pw-cat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/pw-cat.c b/src/tools/pw-cat.c index 3d66a396..d827c811 100644 --- a/src/tools/pw-cat.c +++ b/src/tools/pw-cat.c @@ -1437,7 +1437,11 @@ int main(int argc, char *argv[]) pw_loop_add_signal(l, SIGINT, do_quit, &data); pw_loop_add_signal(l, SIGTERM, do_quit, &data); - data.context = pw_context_new(l, NULL, 0); + data.context = pw_context_new(l, + pw_properties_new( + PW_KEY_CONTEXT_PROFILE_MODULES, "default,rtkit", + NULL), + 0); if (!data.context) { fprintf(stderr, "error: pw_context_new() failed: %m\n"); goto error_no_context; |