chiark / gitweb /
logind: fix write_string_file() fallout
authorDaniel Mack <daniel@zonque.org>
Mon, 20 Jul 2015 21:17:37 +0000 (23:17 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:07:02 +0000 (10:07 +0100)
WRITE_STRING_FILE_ATOMIC is only valid if WRITE_STRING_FILE_CREATE is also
given. IOW, an atomic file write operation is only possible when creating a
file is also being asked for.

This is a regression from the recent write_string_file() rework.


No differences found