/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* relo.c: Re-read (some) configuration files
- *
+ *
* Known contributors to this file:
* Markus Armbruster, 2007
*/
if (journal_reopen() < 0) {
pr("Can't reopen journal");
- return RET_SYS;
+ return RET_FAIL;
}
pr("Journal reopened.\n");
update_reschedule();
pr("Reload of update schedule requested.\n");
+ if (logreopen() < 0) {
+ pr("Can't reopen log");
+ return RET_FAIL;
+ }
+ pr("Log reopened.\n");
+
return RET_OK;
}