]> TLD Linux GIT Repositories - packages/rc-scripts.git/blobdiff - misc_fixes.patch
- misc fixes, cleanup
[packages/rc-scripts.git] / misc_fixes.patch
diff --git a/misc_fixes.patch b/misc_fixes.patch
new file mode 100644 (file)
index 0000000..66e3a27
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/lib/functions b/lib/functions
+index ced6e97..fac4c46 100644
+--- a/lib/functions
++++ b/lib/functions
+@@ -607,7 +607,7 @@ _daemon_set_ulimits() {
+ # A function to start a program (now it's useful on read-only filesystem too)
+ daemon() {
+-      local errors="" prog="" end="" waitname="" waittime=""
++      local errors="" prog="" end="" waitname="" waittime=0
+       local exit_code=0
+       local nice=$SERVICE_RUN_NICE_LEVEL
+       local fork user closefds redirfds pidfile makepid chdir=/