relation-get output is problematic
Gustavo Niemeyer
gustavo at niemeyer.net
Tue May 15 00:23:31 UTC 2012
On Mon, May 14, 2012 at 9:05 PM, Mark Mims <mark.mims at canonical.com> wrote:
> numeric zero as "false" is non-idiomatic and unexpected in shell.
> 0 is the _opposite_ of being empty:
You're thinking of exit codes. The zero we're talking about here is
not an exit code, but a configuration value which makes sense to have
zero defined as false.
The exit code of "<command> --test" should certainly be zero when it
*matches*, though.
gustavo @ http://niemeyer.net
More information about the Juju
mailing list