diff options
author | ajacoutot <ajacoutot@openbsd.org> | 2019-09-28 17:30:07 +0000 |
---|---|---|
committer | ajacoutot <ajacoutot@openbsd.org> | 2019-09-28 17:30:07 +0000 |
commit | 1a49fa34ae3de435d3bc8be7cc75d47be4a71074 (patch) | |
tree | 39c00d3b5cbf69982233848a177eda6bf31c5aa0 /usr.sbin/syspatch | |
parent | It is better style if path[] buffers are PATH_MAX, rather than (diff) | |
download | wireguard-openbsd-1a49fa34ae3de435d3bc8be7cc75d47be4a71074.tar.xz wireguard-openbsd-1a49fa34ae3de435d3bc8be7cc75d47be4a71074.zip |
Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor
X11R6).
Suggested by tb@
ok deraadt@ tb@ millert@
Diffstat (limited to 'usr.sbin/syspatch')
-rw-r--r-- | usr.sbin/syspatch/syspatch.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/syspatch/syspatch.sh b/usr.sbin/syspatch/syspatch.sh index e1719f5e2d4..4d3e6bf6748 100644 --- a/usr.sbin/syspatch/syspatch.sh +++ b/usr.sbin/syspatch/syspatch.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: syspatch.sh,v 1.149 2019/07/07 11:11:22 ajacoutot Exp $ +# $OpenBSD: syspatch.sh,v 1.150 2019/09/28 17:30:07 ajacoutot Exp $ # # Copyright (c) 2016, 2017 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -18,6 +18,7 @@ set -e umask 0022 +export PATH=/usr/bin:/bin:/usr/sbin:/sbin sp_err() { |