sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit a11277c88fba203f69f7a6e11c345265b4697cf0
parent 6abbe04e7590f3bfba13351eb87ada70ac3d506e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 15 Jul 2016 08:03:31 -0400

Fix warning from unused daemon return value

Diffstat:
Mswaylock/main.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/swaylock/main.c b/swaylock/main.c @@ -425,7 +425,10 @@ int main(int argc, char **argv) { show_indicator = false; break; case 'f': - daemon(0, 0); + if (daemon(0, 0) != 0) { + sway_log(L_ERROR, "daemon call failed"); + exit(EXIT_FAILURE); + } break; default: fprintf(stderr, "%s", usage);