chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make-secnet-sites: Fix error handling if caller is in wrong group
[secnet.git]
/
make-secnet-sites
diff --git
a/make-secnet-sites
b/make-secnet-sites
index 70fa7a4b9dd7483dc78b3612dd6e25b04fa65c60..13a6c04b7fbd77d5860b243ca467f0171ff99d28 100755
(executable)
--- a/
make-secnet-sites
+++ b/
make-secnet-sites
@@
-369,7
+369,7
@@
class OpUserv(OpBase):
for i in ugs.split():
if self.group==i: ok=1
if not ok:
- print("caller not in group %s"%
group
)
+ print("caller not in group %s"%
self.group.groupname()
)
sys.exit(1)
def check_group(self,group,w):
if group!=self.group: complain("Incorrect group!")