sh: bad error message
i4ki opened this issue · 0 comments
i4ki commented
This code:
abortonerr($status, format("Failed to read tag: %s", path))
reports:
/home/i4k/nash/lib/acme/acme.sh:33:58: Unquoted string not allowed at pos {33 58} ())
The 'unquoted string' in question is the path
. But a better wording would be:
/home/i4k/nash/lib/acme/acme.sh:33:58: Identifier not allowed.
The 'unquoted string' confuses, it has nothing to do with a literal string and the 'at pos ...' is redundant because the reported path already is fully qualified.