aboutsummaryrefslogtreecommitdiff
path: root/core/musl
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-08 13:28:02 +0300
committerCem Keylan <cem@ckyln.com>2020-06-08 13:28:02 +0300
commit5aa3a0822c81791cdce2cbac428d9bd4e12b6886 (patch)
tree83c958ef27082060fbc5249d9318e85da1adbb9d /core/musl
parentd632cbe1a04a4d2058f051c22e95bbb559bdf7cc (diff)
downloadrepository-5aa3a0822c81791cdce2cbac428d9bd4e12b6886.tar.gz
musl: make getent print messages to stderr
Diffstat (limited to 'core/musl')
-rwxr-xr-xcore/musl/files/getent2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/musl/files/getent b/core/musl/files/getent
index 145be4ba..fb1e16a9 100755
--- a/core/musl/files/getent
+++ b/core/musl/files/getent
@@ -38,7 +38,7 @@
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-out() { printf '%s\n' "$@" ;}
+out() { printf '%s\n' "$@" >&2 ;}
usage() {
out "usage: ${0##*/} [database] [key ...]" \
" database may be one of:" \