]> TLD Linux GIT Repositories - rc-scripts.git/commitdiff
- fix variable type
authorMarcin Krol <hawk@tld-linux.org>
Mon, 14 Sep 2015 07:01:12 +0000 (07:01 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 14 Sep 2015 07:01:12 +0000 (07:01 +0000)
lib/functions

index ced6e97caf095d2f2d1d720911aacb94bf24ee69..fac4c46e67cfccdca16a3f8369cbc08f803ce7c8 100644 (file)
@@ -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=/