If running in mingw with --daemon switch, shouldn't it fail?