summaryrefslogtreecommitdiff
path: root/hscript/script.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/script.cc')
-rw-r--r--hscript/script.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index 8dbf9e1..0d1c10a 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -597,9 +597,10 @@ bool Script::validate() const {
})
) {
output_error("installfile:" + std::to_string(group->lineno()),
- "usergroups: group specified twice");
+ "usergroups: duplicate group name specified");
failures++;
}
+ seen_groups.insert(these.begin(), these.end());
}
/* REQ: Runner.Validate.usergroups.Count */