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