Skip to content

Change netcfg to validate on write and commit on fsync

Jeremy Soller requested to merge batonius:netcfg_commit into master

Created by: batonius

As discussed, the PR changes the behavior of netcfg so it validates each line on write, and commits the changes on fsync and close. This way it's possible to return configuration errors via the return value of File::sync_data.

Merge request reports