Skip to content

Replace uses of /dev/stderr with 1>&2 #242

@mjtko

Description

@mjtko

In some places Clusterware code relies on writing to standard error by redirecting to /dev/stderr. While this is fine in most cases, a notable place where this fails is when executing under sudo, where the TTY device can't be written to due to permission problems.

Instead, we should replace uses of /dev/stderr with the 1>&2 file descriptor syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions