$isdaemon = daemonize; if ($isdaemon == 0) { print "error: $isdaemon"; }