From 5486810b76b8f7f736c6eb9d87ba063f2d596cb8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 16 Jun 2007 20:45:03 +0000 Subject: When doing a silent old config, don't check if stdin was redirected. ct-ng doesn't use this feature, and even better yet, it makes explicit use of redirecting both stdin and stdout at aome moments. diff --git a/kconfig/conf.c b/kconfig/conf.c index 63c7542..b0603f7 100644 --- a/kconfig/conf.c +++ b/kconfig/conf.c @@ -503,7 +503,6 @@ int main(int ac, char **av) break; case 's': input_mode = ask_silent; - valid_stdin = isatty(0) && isatty(1) && isatty(2); break; case 'd': input_mode = set_default; -- cgit v0.10.2-6-g49f6