summaryrefslogtreecommitdiff
path: root/hscript
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-08 19:31:28 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-08 19:31:28 -0500
commit57307442c5d707591dfc4d5e7671364fa564fa5c (patch)
tree22fc576b23be7985be7be12d612b194069b0239b /hscript
parent6d110a03892bf164826b27bd9f92ef396f36d1b3 (diff)
downloadhorizon-57307442c5d707591dfc4d5e7671364fa564fa5c.tar.gz
horizon-57307442c5d707591dfc4d5e7671364fa564fa5c.tar.bz2
horizon-57307442c5d707591dfc4d5e7671364fa564fa5c.tar.xz
horizon-57307442c5d707591dfc4d5e7671364fa564fa5c.zip
hscript: Better message for duplicate value, and test for it
Diffstat (limited to 'hscript')
-rw-r--r--hscript/script.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index a07af15..a8101dc 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -93,7 +93,7 @@ struct Script::ScriptPrivate {
err_str += std::to_string(this->network->lineno());
if(errors) *errors += 1;
output_error("installfile:" + std::to_string(lineno),
- "'network' key has already been specified",
+ "duplicate value for key 'network'",
err_str);
return false;
}