diff options
author | Alexander Larsson <alexl@redhat.com> | 2019-10-01 09:39:56 +0200 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2019-10-02 14:57:11 +0200 |
commit | a36f33d8ee77328aa4d08563c30ed99311d44048 (patch) | |
tree | 2eb18b9988a2a2d1e9147f47547efdca9c04de5e /portal | |
parent | a0c46c1ea27f1c8765c3eef6ccf2f472d30ff4b4 (diff) | |
download | flatpak-a36f33d8ee77328aa4d08563c30ed99311d44048.tar.gz |
update-portal: Ensure we close any stray fds when forking update child
Diffstat (limited to 'portal')
-rw-r--r-- | portal/flatpak-portal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/portal/flatpak-portal.c b/portal/flatpak-portal.c index f1047985..7da5a2f3 100644 --- a/portal/flatpak-portal.c +++ b/portal/flatpak-portal.c @@ -1683,6 +1683,7 @@ update_child_setup_func (gpointer user_data) int *socket = user_data; dup2 (*socket, 3); + flatpak_close_fds_workaround (4); } /* This is the meat of the update process, its run out of process (via |