diff -Naur hddtemp-0.3-beta12/src/hddtemp.c hddtemp-new/src/hddtemp.c --- hddtemp-0.3-beta12/src/hddtemp.c 2004-10-01 19:19:41.000000000 +0200 +++ hddtemp-new/src/hddtemp.c 2005-03-24 18:38:07.000000000 +0100 @@ -349,6 +349,8 @@ close(i); } + setsid(); + /* redirect signals */ for(i = 0; i <= _NSIG; i++) { switch(i) {