chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make-secnet-sites: Crash if complain() is called too late
[secnet.git]
/
make-secnet-sites
diff --git
a/make-secnet-sites
b/make-secnet-sites
index a24c06f6abe555e31902ffa83bc1b1c2b55040bd..ab125ffaed3f7de5e44c136266efdf8eef6753c1 100755
(executable)
--- a/
make-secnet-sites
+++ b/
make-secnet-sites
@@
-585,6
+585,7
@@
if complaints>0:
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