Clixon_backend now returns -1/255 on error instead of 0

This commit is contained in:
Olof Hagsand 2017-12-12 22:40:28 +01:00
parent dd7f790193
commit ca16007b66
2 changed files with 7 additions and 2 deletions

View file

@ -2,7 +2,10 @@
## 3.4.0 (Upcoming)
* Clixon_backend now returns -1/255 on error instead of NULL. Useful for systemd restarts, for example.
* Fixed bug that deletes running on startup if backup started with -m running.
When clixon starts again, running is lost.
The error was that the running (or startup) configuration may fail when
clixon backend starts.
The fix now makes a copy of running and copies it back on failure.