Skip to content

sh: bad error message #262

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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