# HG changeset patch # User Kim Alvefur # Date 1666280165 -7200 # Node ID 3b9de8dd71a36465374466a4a9ac160e9709ec00 # Parent d513e4bd4928756973ebc3d7db6876cf12516be8 util.openssl: Remove Lua 5.1 os.execute() return value compat diff -r d513e4bd4928 -r 3b9de8dd71a3 util/openssl.lua --- a/util/openssl.lua Thu Oct 20 17:35:01 2022 +0200 +++ b/util/openssl.lua Thu Oct 20 17:36:05 2022 +0200 @@ -166,8 +166,7 @@ setmetatable(_M, { __index = function(_, command) return function(opts) - local ret = os_execute(serialize(command, type(opts) == "table" and opts or {})); - return ret == true or ret == 0; + return os_execute(serialize(command, type(opts) == "table" and opts or {})); end; end; });