chiark / gitweb /
core: only process one of READY=1, STOPPING=1 or RELOADING=1 in sd_notify() handling
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Nov 2017 17:14:20 +0000 (18:14 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 13 Nov 2017 17:14:20 +0000 (18:14 +0100)
commitfef0328690d70eb742d507aa2b9571cc594a626a
treea81f422eea08ed8f059c123179051df1759522a7
parentb3e15bf9eb3806c4fc7760f901797174b3d6d9f7
core: only process one of READY=1, STOPPING=1 or RELOADING=1 in sd_notify() handling

Of course, it's not really a valid sd_notify() message if multiple of
these fields are used in one, but let's handle this somewhat gracefully,
by only processing one of them, and ignoring the rest.