1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

g13: Adjust for changed gnupg_process_spawn.

* g13/be-encfs.c (run_umount_helper): Adjust gnupg_process_spawn.
(run_encfs_tool): Ditto:
This commit is contained in:
Werner Koch 2024-05-31 12:28:16 +02:00
parent fc3fde1bde
commit 253a701ed7
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -83,7 +83,7 @@ run_umount_helper (const char *mountpoint)
err = gnupg_process_spawn (pgmname, args, err = gnupg_process_spawn (pgmname, args,
GNUPG_PROCESS_DETACHED, GNUPG_PROCESS_DETACHED,
NULL, NULL, NULL); NULL, NULL);
if (err) if (err)
log_error ("failed to run '%s': %s\n", log_error ("failed to run '%s': %s\n",
pgmname, gpg_strerror (err)); pgmname, gpg_strerror (err));
@ -262,7 +262,7 @@ run_encfs_tool (ctrl_t ctrl, enum encfs_cmds cmd,
err = gnupg_process_spawn (pgmname, argv, err = gnupg_process_spawn (pgmname, argv,
(GNUPG_PROCESS_STDIN_PIPE (GNUPG_PROCESS_STDIN_PIPE
| GNUPG_PROCESS_STDERR_PIPE), | GNUPG_PROCESS_STDERR_PIPE),
NULL, NULL, &proc); NULL, &proc);
if (err) if (err)
{ {
log_error ("error spawning '%s': %s\n", pgmname, gpg_strerror (err)); log_error ("error spawning '%s': %s\n", pgmname, gpg_strerror (err));