Skip to content
Snippets Groups Projects
Simon McVittie's avatar
Simon McVittie authored
This function won't work in Flatpak, so we make sure that we only call
it when we are *not* in Flatpak. The assertion should match that.

This fixes the ability to run:

    ./pressure-vessel/bin/pressure-vessel-wrap -- xterm

when not in a Flatpak environment, which in principle is meant to work
(at least on reasonably normal FHS operating systems), although it isn't
regularly tested.

Thanks to NixOS contributor moben on Github, who spotted this while
debugging.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
1a9cbafe
History