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.
Hamish
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.
Hamish
On Wed, Jun 4, 2008 at 3:15 PM, Hamish <hamish_b@yahoo.com> wrote:
Hi,
re http://trac.osgeo.org/grass/changeset/31623
-exit
+exit 0fyi "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