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:
parent
ffd088ad61
commit
1547d8cbdc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue