On 09/10/2011 09:48 AM Pascal Volk wrote: > Something like that: > > #!/bin/sh > > # do something with the message > > # check return code from the last command > if [ $? -ne 0 ]; then > return 75 > fi > return 0
Sorry - use exit instead of return: if [ $? -ne 0 ]; then exit 75 fi exit 0 Regards, Pascal -- The trapper recommends today: fabaceae.1125...@localdomain.org