summaryrefslogtreecommitdiffstats
path: root/chrony-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'chrony-model.lua')
-rw-r--r--chrony-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrony-model.lua b/chrony-model.lua
index 14e8082..84b9aaa 100644
--- a/chrony-model.lua
+++ b/chrony-model.lua
@@ -68,8 +68,8 @@ end
function startstop_service(action)
local result = modelfunctions.startstop_service(processname, action)
- table.insert(result.value.actions.value, "online")
- table.insert(result.value.actions.value, "offline")
+ table.insert(result.value.actions.value, "Online")
+ table.insert(result.value.actions.value, "Offline")
if action then
local lower = action:lower()
if lower == "online" or lower == "offline" then