diff options
-rw-r--r-- | eathena-monitor.c | 2 | ||||
-rwxr-xr-x | eathena.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/eathena-monitor.c b/eathena-monitor.c index 3ab7f0f2..8e9d985c 100644 --- a/eathena-monitor.c +++ b/eathena-monitor.c @@ -79,7 +79,7 @@ int read_config(char *filename) { int errors = 0; if ( !(input = fopen(filename,"r")) && !(input = fopen (config, "r"))) { - fprintf (stderr, "ERROR: Config file doesn't exist (%s and %s), using builtin defaults\n",filename,CONFIG); + fprintf (stderr, "ERROR: Config file doesn't exist (%s and %s), using builtin defaults\n", filename, config); return -1; } @@ -20,7 +20,7 @@ cd ${SRVHOMEDIR} eathena_start() { if [ -x ${SRVHOMEDIR}/eathena-monitor ]; then echo "Starting eathena monitor..." - ${SRVHOMEDIR}/eathena-monitor + ${SRVHOMEDIR}/eathena-monitor ${SRVHOMEDIR}/conf/eathena-monitor.conf else echo "Eathena monitor binary is not executable or not found." fi } |