Code review comment for lp:~andrea.corbellini/beeseek/sniffer-daemon

Revision history for this message
Lorenzo Allegrucci (l-allegrucci) wrote :

The daemon creates a zombie process:
16330 ? Ss 0:00 ./beeseek-sniffer -a localhost -b eth1
16331 ? Z 0:00 [beeseek-sniffer] <defunct>

maybe you have to use exit(), not "return" after the two forks.
http://netzmafia.de/skripten/unix/linux-daemon-howto.html

« Back to merge proposal