From 2d25be2988d266692b556fbcc89c5b9108cf16f8 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Mon, 14 Sep 2015 07:01:12 +0000 Subject: [PATCH] - fix variable type --- lib/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=/ -- 2.37.3