fix for utils.daemonize() as reported in https://fedorahosted.org/func/ticket/58
authorAdrian Likins <alikins@redhat.com>
Fri, 19 Sep 2008 18:52:32 +0000 (14:52 -0400)
committerAdrian Likins <alikins@redhat.com>
Fri, 19 Sep 2008 18:52:32 +0000 (14:52 -0400)
commitca0b109bfb78736cb3997b536ac20dadf32485bd
treec5fba0756fd6475c77476d824a3d8a2b0c9e3b29
parentd7d7203553c024cbddd726d499eb351b460cb9f3
fix for utils.daemonize() as reported in https://fedorahosted.org/func/ticket/58
by goozbach

Couple of things wrong, fd's were getting closed in wrong place, the
call to os.cwd('/') was supposed to be os.chdir('/')

Also try duping the fd's just in case
certmaster/utils.py