From aa94931fa01c63f9644056eed73ea9c6a665b6ca Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 27 Aug 2008 16:44:07 +0000 Subject: * luci/libs: uvl: Major rewrite of internal element handling, reworked error model, dropped loghelper and get_dependencies(), introduced luci.uvl.errors api --- libs/uvl/root/usr/bin/uvl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/uvl/root') diff --git a/libs/uvl/root/usr/bin/uvl b/libs/uvl/root/usr/bin/uvl index 1631208f0..7dc6a00aa 100755 --- a/libs/uvl/root/usr/bin/uvl +++ b/libs/uvl/root/usr/bin/uvl @@ -123,7 +123,7 @@ else end os.exit( 0 ) else - if not options.silent then print( err ) end + if not options.silent then print( err and err:string() or "Unknown error" ) end os.exit( 1 ) end end -- cgit v1.2.3