24 lines
937 B
Diff
24 lines
937 B
Diff
|
|
diff --git a/session-helper/flatpak-session-helper.c b/session-helper/flatpak-session-helper.c
|
||
|
|
index 31e94384..2c297551 100644
|
||
|
|
--- a/session-helper/flatpak-session-helper.c
|
||
|
|
+++ b/session-helper/flatpak-session-helper.c
|
||
|
|
@@ -698,7 +698,7 @@ start_p11_kit_server (const char *flatpak_dir)
|
||
|
|
g_auto(GStrv) stdout_lines = NULL;
|
||
|
|
int i;
|
||
|
|
const char * const p11_argv[] = {
|
||
|
|
- "p11-kit", "server",
|
||
|
|
+ "@p11kit@", "server",
|
||
|
|
/* We explicitly request --sh here, because we then fail on earlier versions that doesn't support
|
||
|
|
* this flag. This is good, because those earlier versions did not properly daemonize and caused
|
||
|
|
* the spawn_sync to hang forever, waiting for the pipe to close.
|
||
|
|
@@ -852,8 +852,7 @@ main (int argc,
|
||
|
|
exit (1);
|
||
|
|
}
|
||
|
|
|
||
|
|
- pk11_program = g_find_program_in_path ("p11-kit");
|
||
|
|
- if (pk11_program)
|
||
|
|
+ if (TRUE)
|
||
|
|
start_p11_kit_server (flatpak_dir);
|
||
|
|
else
|
||
|
|
g_info ("p11-kit not found");
|