Re:The /bin/true Command and Copyright (2009)
by anyfoo on Saturday August 21, 2021 @05:20PM
(#28260677)
Not in this context. In POSIX exit codes, 0 means “no error”, i.e. success. && and || in the shell even work like that.
Re:The /bin/true Command and Copyright (2009)
by bobbylarrybobby on Saturday August 21, 2021 @05:27PM
(#28260711)
Shell commands use an exit status of 0 to indicate success, and any other number indicates failure
> Zero is used to represent false, and One is used to represent true. For interpretation, Zero is interpreted as false and anything non-zero is interpreted as true.