iotaledger / entangled

enTangle'd is an amalgamation of all things Tangle
Apache License 2.0
113 stars 66 forks source link

ciri: check if file exists before closing it #1328

Closed wusyong closed 5 years ago

wusyong commented 5 years ago

A segment fault encountered when start running cIRI if conf.yml doesn't exist. Adding file check to fclose resolves this situation.

Test Plan:

Pass CI