sysusers: split make_files()
authorFranck Bui <fbui@suse.com>
Tue, 9 May 2017 07:37:37 +0000 (09:37 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 10 May 2017 08:06:20 +0000 (10:06 +0200)
commitb20b0b66066cef87da779b92aa7a18c7c3f71a2c
treeac4fa5d507caf1db9140747977c9cec1109320d7
parent9bfc0df113edd50bd01acba02a42f2a13db83d71
sysusers: split make_files()

This patch extracts the code which is in charge to write the new users or
groups into temporary files and move it into 4 dedicated functions.

This part was previously inlined in makes_files() making this function quite
big and hard to read and maintain.

There should be no functional change.
src/sysusers/sysusers.c