diff options
author | natano <natano@openbsd.org> | 2016-10-06 18:56:17 +0000 |
---|---|---|
committer | natano <natano@openbsd.org> | 2016-10-06 18:56:17 +0000 |
commit | 0afaca0c6d0be005bd6d442d79952668059c8937 (patch) | |
tree | 98369b9aab2cf168af917e51306199016a6b9993 /Makefile | |
parent | Update the list of vmm ioctls that are allowed by pledge. (diff) | |
download | wireguard-openbsd-0afaca0c6d0be005bd6d442d79952668059c8937.tar.xz wireguard-openbsd-0afaca0c6d0be005bd6d442d79952668059c8937.zip |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.128 2016/10/06 16:22:43 tb Exp $ +# $OpenBSD: Makefile,v 1.129 2016/10/06 18:56:17 natano Exp $ # # For more information on building in tricky environments, please see @@ -75,7 +75,7 @@ build: cp /dev/null ${GLOBAL_AUTOCONF_CACHE} .endif @if [[ `id -u` -ne 0 ]]; then \ - echo 'must be called by root' 2>&1; \ + echo $@ must be called by root >&2; \ false; \ fi cd ${.CURDIR}/share/mk && exec ${MAKE} install |