restic / rest-server

Rest Server is a high performance HTTP server that implements restic's REST backend API.
BSD 2-Clause "Simplified" License
922 stars 138 forks source link

Fix inverted condition for fsync warning #231

Closed MichaelEischer closed 1 year ago

MichaelEischer commented 1 year ago

What is the purpose of this change? What does it change?

The warning should only be printed if fsync is not supported and not the other way around.

TODO:

Was the change discussed in an issue or in the forum before?

Fixes #230 Regressed in #199

Checklist