--- at.c.orig 2002-01-18 05:15:27.000000000 +0100 +++ at.c 2009-08-13 22:48:21.000000000 +0200 @@ -580,6 +580,9 @@ else printf("%ld\t%s %c\n", jobno, timestr, queue); } + + closedir(spool); + PRIV_END }