Commit graph

7 commits

Author SHA1 Message Date
41263cf8c9 scripts/savecore: Report nicely when there's no core dump
When savecore can't find a core dump, it reports something like

    ls: cannot access core.*: No such file or directory

to stderr, and fails.  If privlog is set, it also mails out a "Could
not save core dump" note.

Suppress the error message, and mail out "Could not find core dump to
save" instead.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2015-12-05 13:19:38 +01:00
154f04f218 scripts: Use mailx rather than mail, and drop bogus -e 2012-07-13 20:15:33 +02:00
1086387f8b Make scripts/savecore create the core directory 2011-12-29 11:47:04 +01:00
64e58e3417 Make savecore mind available disk space 2011-04-11 22:29:12 +02:00
30f12acf73 Make savecore check core file is accessible 2011-04-11 22:29:12 +02:00
b1e6004148 Make savecore put $PWD in the mail subject
Useful when you monitor multiple games.
2009-04-23 20:32:42 +02:00
32d6c5e1b7 A script for post_crash_dump_hook 2008-04-25 22:13:08 +02:00