aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-08 06:23:15 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-08 06:23:15 +0200
commit5247787fcf35be5c9b79b62cfacadd361ccebf75 (patch)
treec0e508cabedace8eb564e4c540e59eec4c8a151e
parentbe388cda5ff9e96078e39ff9c5f963e4b8fc451c (diff)
pkexec test
-rw-r--r--src/kms/kms_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kms/kms_client.c b/src/kms/kms_client.c
index e689aaf..c7b9b16 100644
--- a/src/kms/kms_client.c
+++ b/src/kms/kms_client.c
@@ -132,7 +132,7 @@ int gsr_kms_client_init(gsr_kms_client *self, const char *card_path, const char
const char *args[] = { server_filepath, self->socket_path, NULL };
execvp(args[0], (char *const*)args);
} else {
- const char *args[] = { "pkexec", server_filepath, self->socket_path, NULL };
+ const char *args[] = { "flatpak-spawn", "--host", "pkexec", server_filepath, self->socket_path, NULL };
execvp(args[0], (char *const*)args);
}
perror("execvp");