chiark / gitweb /
make-secnet-sites: Tolerate missing group in userv sites file
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Mar 2020 18:26:16 +0000 (18:26 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Mar 2020 18:31:32 +0000 (18:31 +0000)
commitf96167a2eb285a9ea5d43c69a59062dfc71340d0
treeb14d2fa0eb5f880f94277c36113faf401e350454
parent81a34149e76f53d73f2c9e15f42e24f1907ac185
make-secnet-sites: Tolerate missing group in userv sites file

When processing a sites file fragment via userv, the group in the
provided file is supposed to be optional.  This was accidentally
regressed in 19482a2958fa
   make-secnet-sites: Do not write out unchecked output in sites

The additional call to w[2].groupname ought to have been conditional.
Now we have precisely the right code in OpBase, so simply call it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
make-secnet-sites