summaryrefslogtreecommitdiffhomepage
path: root/libs/lpk/luasrc/lpk.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-29 16:54:30 +0000
committerSteven Barth <steven@midlink.org>2008-07-29 16:54:30 +0000
commit8dad54251aeb9ede55bbc775c1cf7a9d84402762 (patch)
treed4734ae53cdfb297a3e52d507083a41daa5224b0 /libs/lpk/luasrc/lpk.lua
parent41eceab4c413d331c14d3b3ba0e8bb355427f1f3 (diff)
libs/lpk: Several fixes in CLI -> Machine bindings
Diffstat (limited to 'libs/lpk/luasrc/lpk.lua')
-rw-r--r--libs/lpk/luasrc/lpk.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/lpk/luasrc/lpk.lua b/libs/lpk/luasrc/lpk.lua
index 3b42a367ed..7117c75f9c 100644
--- a/libs/lpk/luasrc/lpk.lua
+++ b/libs/lpk/luasrc/lpk.lua
@@ -31,7 +31,7 @@ else
os.exit(task.register.error or 1)
end
else
- luci.util.perror(error .. "\n")
+ luci.util.perror((error or "Unknown Error") .. "\n")
luci.lpk.util.splash()
os.exit(1)
end