src/ini_parser.f90: open file for reading
This commit is contained in:
parent
59dfcb7799
commit
f5a983f926
@ -75,7 +75,7 @@ contains
|
||||
|
||||
! open the INI file
|
||||
ini = get_free_unit()
|
||||
open(unit=ini, file=filepath, iostat=error)
|
||||
open(unit=ini, file=filepath, action='read', iostat=error)
|
||||
if (error /= 0) then
|
||||
write (msg, '("failed to open INI file: ", a)') filepath
|
||||
call log_error(msg, proc='parse_ini', mod='ini_parser')
|
||||
|
Loading…
Reference in New Issue
Block a user