|
|
||
|
In 4.0, I'd write something like:
if( not dofile( os.getenv("HOME") .. "/.ps2luarc" )) then
print( "no user config file - using defaults." );
end
what's the right way to do this in 5.0 -- i.e. dealing gracefully in
cases where the file does not exist?
Thanks, Michael