author | Kim Alvefur <zash@zash.se> |
Thu, 23 Jun 2016 21:08:51 +0200 | |
changeset 7461 | 82710f8c1fe6 |
parent 7460 | 5e18416881bb |
child 7463 | 726b088f9408 |
util/openssl.lua | file | annotate | diff | comparison | revisions |
--- a/util/openssl.lua Thu Jun 23 21:07:48 2016 +0200 +++ b/util/openssl.lua Thu Jun 23 21:08:51 2016 +0200 @@ -166,7 +166,8 @@ setmetatable(_M, { __index = function(_, command) return function(opts) - return 0 == os_execute(serialize(command, type(opts) == "table" and opts or {})); + local ret = os_execute(serialize(command, type(opts) == "table" and opts or {})); + return ret == true or ret == 0; end; end; });