alpine: Chequear bien por error

This commit is contained in:
Cat /dev/Nulo 2022-06-17 22:41:34 -03:00
parent 82d7066d0f
commit 670bc889ef

View file

@ -94,7 +94,7 @@ end
-- Returns nil when no failure, otherwise string error or apk's status code -- Returns nil when no failure, otherwise string error or apk's status code
function alpine.make_world(rootfs_path, packages) function alpine.make_world(rootfs_path, packages)
local world = alpine.write_file(rootfs_path, local err = alpine.write_file(rootfs_path,
"/etc/apk/world", "/etc/apk/world",
utils.join_table(packages, "\n")) utils.join_table(packages, "\n"))
if err then return err end if err then return err end