Don't write log messages to the umbilical pipe if we don't detach.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 20 May 2015 19:25:06 +0000 (21:25 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 20 May 2015 19:25:06 +0000 (21:25 +0200)
commit19e0d449ebd06450c9d7f16f032c0806242c7515
tree43ca1750e380ea9ac022d9b2494ef564d3e9208a
parent11868b890d1a7f4cfbfb37099393b32019010f66
Don't write log messages to the umbilical pipe if we don't detach.

If we run in the foreground and are started by the CLI, this would
otherwise cause the first few log messages to appear twice.
src/logger.c
src/sptps_speed.c
src/sptps_test.c