Provide a controlling tty to askfirst processes as well
 -Erik
diff --git a/init/init.c b/init/init.c
index 8f44925..41dfc69 100644
--- a/init/init.c
+++ b/init/init.c
@@ -518,7 +518,7 @@
 
 		/* If the init Action requires up to wait, then force the
 		 * supplied terminal to be the controlling tty. */
-		if (a->action & (SYSINIT|WAIT|CTRLALTDEL|SHUTDOWN|RESTART)) {
+		if (a->action & (SYSINIT|WAIT|CTRLALTDEL|SHUTDOWN|RESTART|ASKFIRST)) {
 
 			/* Take over the controlling tty */
 			ioctl(fd, TIOCSCTTY, 1);