summaryrefslogtreecommitdiffstats
path: root/lib/modelfunctions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/modelfunctions.lua')
-rw-r--r--lib/modelfunctions.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/modelfunctions.lua b/lib/modelfunctions.lua
index 0e81d75..491bf0b 100644
--- a/lib/modelfunctions.lua
+++ b/lib/modelfunctions.lua
@@ -19,7 +19,7 @@ end
function startstop_service(processname, action)
-- action is validated in daemoncontrol
local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol(processname, action)
- return cfe({ type="boolean", value=cmdresult, descr=cmdmessage, errtxt=cmderror, label="Start/Stop result" })
+ return cfe({ value=cmdmessage or "", errtxt=cmderror, label="Start/Stop result" })
end
function getstatus(processname, packagename, label)