]> git.tue.mpg.de Git - paraslash.git/commit
Be more careful in daemon_init().
authorAndre Noll <maan@systemlinux.org>
Sun, 17 Feb 2008 20:53:21 +0000 (21:53 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 17 Feb 2008 20:53:21 +0000 (21:53 +0100)
commit2bd7df00a26bb0cb26283f56eef18659aaa65730
tree7182a37f22b7e2d30a40ebd41467fa7185bac243
parent62414974b55d78a67d4170da85091a915087219f
Be more careful in daemon_init().

setsid(), chdir() and dup2() all may fail. So check the
return value.
daemon.c