mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-25 16:18:31 -05:00
Just because stdout/stderr happen to be going to a terminal doesn't necessarily mean that we want the command launched by HostCommand to take ownership of the terminal - in the case where 'flatpak run' is launched from a terminal, stderr will typically be left pointing to the terminal for any command. In that case the terminal already has a controlling process, and TIOCSCTTY will fail; avoid scary messages by making the failure only a g_debug()