]> git.tuebingen.mpg.de Git - dss.git/commit
Fix a serious bug in deamon mode.
authorAndre Noll <maan@congo.fml.local>
Fri, 28 Mar 2008 14:01:09 +0000 (15:01 +0100)
committerAndre Noll <maan@congo.fml.local>
Fri, 28 Mar 2008 14:01:09 +0000 (15:01 +0100)
commit7c6b83b224d74491f0d47760dcdd47f39df3751a
tree57278f94e88641e4efcb1ad088ae0ae7496548cd
parent5c454a6e407f1cdcb4f479a7364802a6735f28cc
Fix a serious bug in deamon mode.

In daemon mode, we changed to dest_dir _before_ calling daemon_init(),
which changes the cwd to /.

Fix this rather embarrassing bug by changing cwd later. To this aim,
introduce change_to_dest_dir() which also logs some messages.
dss.c