aboutsummaryrefslogtreecommitdiffstats
path: root/g13/be-encfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'g13/be-encfs.c')
-rw-r--r--g13/be-encfs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/g13/be-encfs.c b/g13/be-encfs.c
index 25725daa2..9adb1e092 100644
--- a/g13/be-encfs.c
+++ b/g13/be-encfs.c
@@ -81,7 +81,11 @@ run_umount_helper (const char *mountpoint)
args[1] = mountpoint;
args[2] = NULL;
- err = gnupg_spawn_process_detached (pgmname, args, NULL);
+ err = gnupg_process_spawn (pgmname, args,
+ (GNUPG_PROCESS_DETACHED | GNUPG_PROCESS_STDIN_NULL
+ | GNUPG_PROCESS_STDOUT_NULL
+ | GNUPG_PROCESS_STDERR_NULL),
+ NULL, NULL, NULL);
if (err)
log_error ("failed to run '%s': %s\n",
pgmname, gpg_strerror (err));