weird that 0 is truthy in lua

· · Mastodon Twitter Crossposter · 2 · 0 · 1

@vovanium that makes sense tho, because shells are made for launching other programs ans both windows and unix have agreed that a return code of 0 means "success" and other codes indicate an error. may be in lua 0 is also a valid result for succesful operation?

Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!