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:
parent
dd0737f8e7
commit
f63401329d
5 changed files with 7 additions and 2 deletions
|
@ -63,7 +63,6 @@ static empth_t *update_thread;
|
|||
static int update_get_schedule(void);
|
||||
static void update_sched(void *);
|
||||
static void update_run(void);
|
||||
static int run_hook(char *cmd, char *name);
|
||||
|
||||
void
|
||||
update_init(void)
|
||||
|
@ -218,7 +217,7 @@ update_run(void)
|
|||
empth_rwlock_unlock(play_lock);
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
run_hook(char *cmd, char *name)
|
||||
{
|
||||
int status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue