Make savecore put $PWD in the mail subject
Useful when you monitor multiple games.
This commit is contained in:
parent
a9fd8d349b
commit
b1e6004148
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ alert_deity ()
|
|||
then msg="Core dump $saved_core saved."
|
||||
else msg="Could not save core dump."
|
||||
fi
|
||||
echo $msg | $mailx -s "emp_server dumped core" "$privlog"
|
||||
echo $msg | $mailx -s "emp_server dumped core in $PWD" "$privlog"
|
||||
}
|
||||
|
||||
test -n "$privlog" && trap 'alert_deity' EXIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue