Every call to complain() is supposed to occurs before the code in the
main program which checks `complaints'. But maybe there is an
erroneous late call, or one may be introduced. In this case it is
important to crash, because otherwise bad data might end up being
written into our output.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
if complaints==1: print("There was 1 problem.")
else: print("There were %d problems."%(complaints))
sys.exit(1)
+complaints=None # arranges to crash if we complain later
if service:
# Put the user's input into their group file, and rebuild the main