Browse Source

Print the root check error message to stderr. While there add the name

of the target to the message to be more descriptive.
ok deraadt tb
OPENBSD_6_1
natano 8 years ago
parent
commit
78234d860d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/Makefile

+ 2
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.438 2016/10/06 15:37:42 natano Exp $
# $OpenBSD: Makefile,v 1.439 2016/10/06 18:56:17 natano Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
@ -249,7 +249,7 @@ release:
release: release:
@if [[ `id -u` -ne 0 ]]; then \ @if [[ `id -u` -ne 0 ]]; then \
echo 'must be called by root' 2>&1; \
echo $@ must be called by root >&2; \
false; \ false; \
fi fi
${MAKE} release-sets ${MAKE} release-sets


Loading…
Cancel
Save