bail out if you specified a config file, and it's ENOENT - less confusing

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@176 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-01-26 16:50:13 +00:00
parent ffd088ad61
commit 1547d8cbdc
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ create_config ()
}
else
{
fprintf(stderr, "Warning: can't find or open %s for reading\n", config);
myconfig = &defconfig;
fprintf(stderr, "ERROR: can't find or open %s for reading\n", config);
graceful_exit(104);
return;
}