[GRASS-dev] script exit status
Markus Neteler
neteler at osgeo.org
Wed Jun 4 15:35:16 EDT 2008
On Wed, Jun 4, 2008 at 3:15 PM, Hamish <hamish_b at yahoo.com> wrote:
> Hi,
>
> re http://trac.osgeo.org/grass/changeset/31623
>
> -exit
> +exit 0
>
> fyi "exit" in shell scripts without an explicit number will return with the last known exit code. in the above
> it will (or rather did) exit with g.message's exit code.
Yes.
But i don't think that it makes sense to exit with the g.message's
exit code which
will unlikely fail.
?
Markus
More information about the grass-dev
mailing list