Open bigunyak opened 9 years ago
This exit status comes from App::Cmd which provides the --version
functionality. @rjbs, do you have an opinion on the exit status of --version
(and presumably --help
as well)?
~$ dzil --version
dzil (Dist::Zilla::App) version 6.006 (/Users/rjbs/.plenv/versions/24.0/bin/dzil)
~$ echo $?
0
…and I get the same with other App::Cmd-based things. I don't think this is App::Cmd's doing alone.
While puppetising Pinto installation I stumbled on
bin/pinto --version
command returning non-zero exit status code which indicates failure and puppet stops the deployment. I went around this by settingreturns
parameter forexec
resource, but it's just doesn't look nice. Could you please fix this small issue. I guess it's related to #132 but I decided to open a fresh ticket.