udev: do not append newline when write attributes
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 10 Nov 2019 05:42:55 +0000 (14:42 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 12 Nov 2019 08:25:00 +0000 (09:25 +0100)
commita566ed2c82d81cc6416fe0da0a14f6d5fe5d83b4
tree78514d660448432a3e5b6a8decd66684ce7f7e6a
parent68f98816cb04d80a538eb00ec68c3debebc75e5f
udev: do not append newline when write attributes

Before 25de7aa7b90c23d33ea50ada1e50c5834a414237, the content is written
by `fprintf()` without new line. So WRITE_STRING_FILE_AVOID_NEWLINE flag
is necessary.

Fixes #13985.
src/udev/udev-rules.c