#!/bin/sh

ADDRESS=diskdump@example.com

mail -s "[diskdump] out of space for dump" $ADDRESS <<_EOF
Out of space on `hostname` when writing the crash
to $1 will be lost.
_EOF

# The script may want to try freeing up diskspace, if so
# returning a non-zero value which makes savecore try again.
# It only tries again once though. (In order to avoid loops.)

exit 0
