Skip to content

sh: bad error message #262

@i4ki

Description

@i4ki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions