summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2019-10-20 09:10:44 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2019-10-20 09:10:44 +0000
commit220d34a19e71723cd412f4454c6c2bb89ea6c7a9 (patch)
tree92d7d4098e9e7fd705a0f85c29a2b184737b7d5b /usr.sbin
parenta47beeb4e4ec86dcf8ee24c3c84bb3294bcf40cc (diff)
Tweak and sync comment.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/syspatch/syspatch.sh4
-rw-r--r--usr.sbin/sysupgrade/sysupgrade.sh4
2 files changed, 4 insertions, 4 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
diff --git a/usr.sbin/sysupgrade/sysupgrade.sh b/usr.sbin/sysupgrade/sysupgrade.sh
index 1b228259ecd..96526ac8788 100644
--- a/usr.sbin/sysupgrade/sysupgrade.sh
+++ b/usr.sbin/sysupgrade/sysupgrade.sh
@@ -1,6 +1,6 @@
#!/bin/ksh
#
-# $OpenBSD: sysupgrade.sh,v 1.27 2019/10/19 13:14:23 tb Exp $
+# $OpenBSD: sysupgrade.sh,v 1.28 2019/10/20 09:10:43 ajacoutot Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015 Robert Peichaer <rpe@openbsd.org>
@@ -51,7 +51,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