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.
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 undersudo, where the TTY device can't be written to due to permission problems.Instead, we should replace uses of
/dev/stderrwith the1>&2file descriptor syntax.