From 0153a9bfea5204a4b72e0900ddcc97dfc244a27b Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 22 Nov 2009 17:00:50 +0000 Subject: busybox: restore previous inittab handling when terminal can't be accessed (closes: #6181) SVN-Revision: 18485 --- package/busybox/patches/001-init_avoid_loop_opening_tty.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/busybox/patches') diff --git a/package/busybox/patches/001-init_avoid_loop_opening_tty.patch b/package/busybox/patches/001-init_avoid_loop_opening_tty.patch index 8cc9ca2c89..8f0ef1fc0a 100644 --- a/package/busybox/patches/001-init_avoid_loop_opening_tty.patch +++ b/package/busybox/patches/001-init_avoid_loop_opening_tty.patch @@ -6,7 +6,7 @@ */ - if (a->pid == 0) + if (a->pid == 0) { -+ if (a->terminal && access(a->terminal, R_OK | W_OK)) ++ if (a->terminal[0] && access(a->terminal, R_OK | W_OK)) + continue; a->pid = run(a); + } -- cgit v1.2.3