diff options
Diffstat (limited to 'hscript/meta.cc')
-rw-r--r-- | hscript/meta.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/meta.cc b/hscript/meta.cc index 8fedb32..2f4e4eb 100644 --- a/hscript/meta.cc +++ b/hscript/meta.cc @@ -179,7 +179,7 @@ static std::set<std::string> valid_arches = { Key *Arch::parseFromData(const std::string &data, int lineno, int *errors, int *warnings, const Script *script) { - if(data.find_first_not_of("abcdefghijklmnopqrstuvwyxz1234567890") != + if(data.find_first_not_of("abcdefghijklmnopqrstuvwyxz1234567890_") != std::string::npos) { if(errors) *errors += 1; output_error("installfile:" + std::to_string(lineno), |