diff options
-rw-r--r-- | awall-model.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/awall-model.lua b/awall-model.lua index 7e79813..4cf52aa 100644 --- a/awall-model.lua +++ b/awall-model.lua @@ -105,6 +105,9 @@ function startstop_service(self, startstop, action) end local f = io.popen(cmd) startstop.descr = f:read("*a") + if startstop.descr == "" then + startstop.descr = "Success" + end f:close() end return startstop |