]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
waittime is integer type ([ $foo -gt 0])
authorElan Ruusamäe <glen@delfi.ee>
Fri, 11 Dec 2015 16:05:40 +0000 (18:05 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 11 Dec 2015 16:05:40 +0000 (18:05 +0200)
lib/functions

index f9538d2401202c6f6c9fd1430695a88a1482028e..2b2e3a1d637d9ab04dd12a2d755dcdfe307e32d2 100644 (file)
@@ -708,7 +708,7 @@ _daemon_exec() {
 
 # A function to start a program (now it's useful on read-only filesystem too)
 daemon() {
-       local errors="" waitname="" waittime=""
+       local errors="" waitname="" waittime=0
        local exit_code=0
        local nice=$SERVICE_RUN_NICE_LEVEL
        local fork user closefds redirfds pidfile makepid chdir=/
This page took 0.443037 seconds and 4 git commands to generate.