warning message when config file = ENOENT

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@136 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-01-21 01:49:40 +00:00
parent dc9485bba1
commit 7c8eebf836
1 changed files with 1 additions and 4 deletions

View File

@ -165,6 +165,7 @@ create_config ()
}
else
{
fprintf(stderr, "Warning: can't find or open %s for reading\n", config);
myconfig = &defconfig;
return;
}
@ -1367,7 +1368,6 @@ main (int argc, char** argv)
/* for chroot and program execution */
char atrcfilename[81], *spool;
unsigned int len;
struct rlimit rl = { RLIM_INFINITY, RLIM_INFINITY };
int userchoice = 0;
@ -1376,9 +1376,6 @@ main (int argc, char** argv)
create_config();
/* coredumper */
setrlimit (RLIMIT_CORE, &rl);
/* signal handlers */
signal (SIGHUP, catch_sighup);