71eb17f
--- at-3.1.10/atd.c.old	2007-07-12 11:12:36.000000000 +0200
71eb17f
+++ at-3.1.10/atd.c	2007-07-12 11:20:40.000000000 +0200
71eb17f
@@ -303,6 +303,8 @@
71eb17f
 	free(newname);
71eb17f
 	return;
71eb17f
     }
71eb17f
+    (void) setsid(); //own session for process
71eb17f
+    
71eb17f
     /* Let's see who we mail to.  Hopefully, we can read it from
71eb17f
      * the command file; if not, send it to the owner, or, failing that,
71eb17f
      * to root.