]> git.ipfire.org Git - thirdparty/lxc.git/commit
confile: do not write out trailing spaces
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 30 May 2017 01:19:26 +0000 (03:19 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 30 May 2017 16:43:03 +0000 (18:43 +0200)
commit151d2da2dd4da55bd51910b1db3e465defd6f161
tree1901b4b42c5fffc53a067119bc498a595c033f06
parent86444194487413b1eb488b4e082df2b2bd16ddec
confile: do not write out trailing spaces

So far do_append_unexp_config_line() wrote out a trailing space each time the
config item value was empty. This is a problem a) when we later on parse the
written out config file we need to remove trailing spaces and b).

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.c