diff options
| author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-04-14 15:03:59 +0200 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-24 08:27:16 +0000 |
| commit | 4d59288b3f8957350e0058cf6ea02587f06aa75b (patch) | |
| tree | c24a809cda2e7b132185c41542ad37a69d3b7436 /testing/libc++/avoid-strtoll_l.patch | |
| parent | 1db85a8c0c222cd62f9878d16343139207c5d85e (diff) | |
| download | aports-4d59288b3f8957350e0058cf6ea02587f06aa75b.tar.bz2 aports-4d59288b3f8957350e0058cf6ea02587f06aa75b.tar.xz | |
main/xinit: fix default program execution
The exec(1) man page states the following:
> If command is specified, exec shall not return to the shell; rather
> the exit status of the process shall be the exit status of the program
> implementing command, which overlaid the shell.
Thus the shell will not continue execution after `exec startxfce4`
failed. To fix this we now check if the program exists and if that's the
case execute it using exec.
Diffstat (limited to 'testing/libc++/avoid-strtoll_l.patch')
0 files changed, 0 insertions, 0 deletions
