X-Git-Url: https://git.tld-linux.org/?p=packages%2Frc-scripts.git;a=blobdiff_plain;f=misc_fixes.patch;fp=misc_fixes.patch;h=66e3a275fd9d4b976956ca3237e7dc7266e0808e;hp=0000000000000000000000000000000000000000;hb=fbac9ba1c624174a27f2c32d44318978d129eb8e;hpb=e3849fc0aa3f8e29389e3790221648b691201900 diff --git a/misc_fixes.patch b/misc_fixes.patch new file mode 100644 index 0000000..66e3a27 --- /dev/null +++ b/misc_fixes.patch @@ -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=/