New post_crash_dump_hook

Run it from crash_dump().  Useful to move core files out of the way,
alert deities by e-mail, and so forth.
This commit is contained in:
Markus Armbruster 2008-04-25 22:12:22 +02:00
parent dd0737f8e7
commit f63401329d
5 changed files with 7 additions and 2 deletions

View file

@ -340,6 +340,7 @@ crash_dump(void)
return;
}
}
run_hook(post_crash_dump_hook, "post-crash-dump");
logerror("Crash dump complete");
#endif
}