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
|
else
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Warning: can't find or open %s for reading\n", config);
|
fprintf(stderr, "ERROR: can't find or open %s for reading\n", config);
|
||||||
myconfig = &defconfig;
|
graceful_exit(104);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue