diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-08-14 09:16:15 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-08-14 09:20:53 +0200 |
commit | 2f66635635c12ee0246a5c4f771772ed2b71bec6 (patch) | |
tree | 8fdaaf3a21ce5f39638396222bbf4dedab7ba4c3 /src/basic/util.c | |
parent | c59be53b8741357a7a499785bc67204a51ddde77 (diff) |
Prep v235: Apply upstream fixes (3/10) [src/basic]
Diffstat (limited to 'src/basic/util.c')
-rw-r--r-- | src/basic/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/util.c b/src/basic/util.c index cd7f0e42d..c95e17f57 100644 --- a/src/basic/util.c +++ b/src/basic/util.c @@ -224,7 +224,7 @@ int fork_agent(pid_t *pid, const int except[], unsigned n_except, const char *pa /* Spawns a temporary TTY agent, making sure it goes away when * we go away */ - parent_pid = getpid(); + parent_pid = getpid_cached(); /* First we temporarily block all signals, so that the new * child has them blocked initially. This way, we can be sure |