diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2019-10-20 09:10:44 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2019-10-20 09:10:44 +0000 |
commit | 220d34a19e71723cd412f4454c6c2bb89ea6c7a9 (patch) | |
tree | 92d7d4098e9e7fd705a0f85c29a2b184737b7d5b /usr.sbin/syspatch/syspatch.sh | |
parent | a47beeb4e4ec86dcf8ee24c3c84bb3294bcf40cc (diff) |
Tweak and sync comment.
Diffstat (limited to 'usr.sbin/syspatch/syspatch.sh')
-rw-r--r-- | usr.sbin/syspatch/syspatch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syspatch/syspatch.sh b/usr.sbin/syspatch/syspatch.sh index 1ef419037b1..bf8151ffcbe 100644 --- a/usr.sbin/syspatch/syspatch.sh +++ b/usr.sbin/syspatch/syspatch.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: syspatch.sh,v 1.152 2019/10/19 13:14:23 tb Exp $ +# $OpenBSD: syspatch.sh,v 1.153 2019/10/20 09:10:43 ajacoutot Exp $ # # Copyright (c) 2016, 2017 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -255,7 +255,7 @@ unpriv() fi (($# >= 1)) - # propagate error code to the caller instead of failing hard + # XXX ksh(1) bug; send error code to the caller instead of failing hard set +e eval su -s /bin/sh ${_user} -c "'$@'" || _rc=$? set -e |