diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2017-01-30 21:35:37 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-01-31 11:22:56 +1000 |
commit | 2effad417dabccd0b41ac32dc8108c99c73801d2 (patch) | |
tree | 39d459002efcf82605c0d70b524cbb322af58acb /xinitrc.cpp | |
parent | 710ea2cec2b36831a3b6b5bdae223d18edbea933 (diff) |
xinit: check for correct fork error code
Even though this code is only active on __sun machines, the fork return
value should be checked for -1, not 1, to detect an error situation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xinitrc.cpp')
0 files changed, 0 insertions, 0 deletions