blob: 920575f535f20adad13b9c4d6dcd3df409b5227c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
Subject: reactivate check for tty
From: Marc Kleine-Budde <mkl@pengutronix.de
The busybox crew switched of the test for a tty in silentoldconfig,
we use this feature to break when oldconfig needs interaction
in automated build.
This patch reactivates this feature.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
scripts/kconfig/conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: busybox-1.13.2/scripts/kconfig/conf.c
===================================================================
--- busybox-1.13.2.orig/scripts/kconfig/conf.c
+++ busybox-1.13.2/scripts/kconfig/conf.c
@@ -503,7 +503,7 @@ int main(int ac, char **av)
break;
case 's':
input_mode = ask_silent;
- valid_stdin = isatty(0); //bbox: && isatty(1) && isatty(2);
+ valid_stdin = isatty(0) && isatty(1) && isatty(2);
break;
case 'd':
input_mode = set_default;
|