projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[ar71xx] fix dir-825-b1 default network config after r21905
[openwrt.git]
/
package
/
busybox
/
patches
/
001-init_avoid_loop_opening_tty.patch
1
--- a/init/init.c
2
+++ b/init/init.c
3
@@ -456,8 +456,11 @@ static void run_actions(int action_type)
4
/* Only run stuff with pid == 0. If pid != 0,
5
* it is already running
6
*/
7
- if (a->pid == 0)
8
+ if (a->pid == 0) {
9
+ if (a->terminal[0] && access(a->terminal, R_OK | W_OK))
10
+ continue;
11
a->pid = run(a);
12
+ }
13
}
14
}
15
}
This page took
0.056554 seconds
and
5
git commands to generate.