]> TLD Linux GIT Repositories - packages/rc-scripts.git/blob - misc_fixes.patch
- misc fixes, cleanup
[packages/rc-scripts.git] / misc_fixes.patch
1 diff --git a/lib/functions b/lib/functions
2 index ced6e97..fac4c46 100644
3 --- a/lib/functions
4 +++ b/lib/functions
5 @@ -607,7 +607,7 @@ _daemon_set_ulimits() {
6  
7  # A function to start a program (now it's useful on read-only filesystem too)
8  daemon() {
9 -       local errors="" prog="" end="" waitname="" waittime=""
10 +       local errors="" prog="" end="" waitname="" waittime=0
11         local exit_code=0
12         local nice=$SERVICE_RUN_NICE_LEVEL
13         local fork user closefds redirfds pidfile makepid chdir=/