diff --git a/rrdtool/mirror-rrd.c b/rrdtool/mirror-rrd.c index 24c46aa..edf46ed 100644 --- a/rrdtool/mirror-rrd.c +++ b/rrdtool/mirror-rrd.c @@ -9,6 +9,9 @@ int main(void) { case -1: return -1; case 0: + close(0); + close(1); + setsid(); break; default: _exit(0);