]> the.earth.li Git - onak.git/commitdiff
Add error checking when trying to daemonize in keyd
authorJonathan McDowell <noodles@earth.li>
Mon, 6 Jan 2014 18:58:11 +0000 (10:58 -0800)
committerJonathan McDowell <noodles@earth.li>
Mon, 6 Jan 2014 18:58:11 +0000 (10:58 -0800)
We weren't checking the return from freopen, which causes warnings when
compiling with -D_FORTIFY_SOURCE=2. Do so, and also for the setsid().


No differences found