• Stefan Agner's avatar
    main: do not exit in case stdin is a closed stream · 3b1c1efe
    Stefan Agner authored
    Weston should not exit if stdin is a closed stream. This allows
    to launch with a closed stdin:
    
      # weston <&-
    
    This fixes screen sharing using weston: Weston closes the stdin
    before forking itself to execute the screen sharing instance of
    weston. Before this patch screen sharing failed with:
      Screen share failed: No wl_shm found
      unknown child process exited
    
    Fixes: f0d39b22 ("weston: Set CLOEXEC on stdin")
    Signed-off-by: Stefan Agner's avatarStefan Agner <stefan@agner.ch>
    3b1c1efe
Name
Last commit
Last update
..
cms-colord.c Loading commit data...
cms-helper.c Loading commit data...
cms-helper.h Loading commit data...
cms-static.c Loading commit data...
main.c Loading commit data...
screen-share.c Loading commit data...
systemd-notify.c Loading commit data...
text-backend.c Loading commit data...
weston-screenshooter.c Loading commit data...
weston.desktop Loading commit data...
weston.h Loading commit data...
weston.pc.in Loading commit data...
xwayland.c Loading commit data...