summaryrefslogtreecommitdiffstats
path: root/src/shared/edit-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/edit-util.c')
-rw-r--r--src/shared/edit-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/edit-util.c b/src/shared/edit-util.c
index 96ad721343..045839b663 100644
--- a/src/shared/edit-util.c
+++ b/src/shared/edit-util.c
@@ -270,7 +270,7 @@ static int run_editor(const EditFileContext *context) {
assert(context);
- r = safe_fork("(editor)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG|FORK_WAIT, NULL);
+ r = safe_fork("(editor)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGTERM|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG|FORK_WAIT, NULL);
if (r < 0)
return r;
if (r == 0) { /* Child */