489143c
--- at-3.1.10/at.c.shell	2006-09-12 11:25:31.000000000 +0200
489143c
+++ at-3.1.10/at.c	2006-09-12 12:25:43.000000000 +0200
489143c
@@ -460,6 +460,8 @@
489143c
     fprintf(fp, " || {\n\t echo 'Execution directory "
489143c
 	    "inaccessible' >&2\n\t exit 1\n}\n");
489143c
 
489143c
+    fprintf(fp, "${SHELL:-/bin/sh} << `(dd if=/dev/urandom count=200 bs=1 2>/dev/null|LC_ALL=C tr -d -c '[:alnum:]')`\n\n");
489143c
+
489143c
     istty = isatty(fileno(stdin));
489143c
     if (istty) {
489143c
 	fprintf(stderr, "at> ");
489143c
@@ -1037,7 +1039,7 @@
489143c
 	   It also alows a warning diagnostic to be printed.  Because of the
489143c
 	   possible variance, we always output the diagnostic. */
489143c
 
489143c
-	fprintf(stderr, "warning: commands will be executed using /bin/sh\n");
489143c
+//	fprintf(stderr, "warning: commands will be executed using /bin/sh\n");
489143c
 
489143c
 	writefile(timer, queue);
489143c
 	break;