From a991a5d8865c9b4c058d1900e8c4a07a09f31081 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 11 Jan 2009 21:37:28 +0100 Subject: eathena.sh and eathena-monitor corrections When the monitor didn't find the configuration, it didn't print out the path it actually tried. The shell script was modified to actually pass the path to the configuration to the monitor, otherwise it can't find this itself when the 'workdir' doesn't match its default value. --- eathena-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eathena-monitor.c') 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; } -- cgit v1.2.3-60-g2f50