diff options
Diffstat (limited to 'skins-model.lua')
-rw-r--r-- | skins-model.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/skins-model.lua b/skins-model.lua index f4b4de6..441298e 100644 --- a/skins-model.lua +++ b/skins-model.lua @@ -5,6 +5,7 @@ local function set_skins(skin) local cmd = "/bin/sed -i 's/skin=.*/skin=" .. skin .. "/' /etc/acf/acf.conf" local f, errtxt = io.popen(cmd) local cmdoutput = f:read("*a") + if cmdoutput == "" then cmdoutput = "New skin selected" end f:close() return cmdoutput, errtxt end |