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