artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcffba6
)
Use $SUDO when reading sshd's pidfile in case it was created with a very
author
dtucker
<dtucker@openbsd.org>
Thu, 10 Jun 2021 09:43:51 +0000
(09:43 +0000)
committer
dtucker
<dtucker@openbsd.org>
Thu, 10 Jun 2021 09:43:51 +0000
(09:43 +0000)
restrictive umask. This resyncs with -portable.
regress/usr.bin/ssh/reconfigure.sh
patch
|
blob
|
history
diff --git
a/regress/usr.bin/ssh/reconfigure.sh
b/regress/usr.bin/ssh/reconfigure.sh
index
fb367cc
..
4f288cd
100644
(file)
--- a/
regress/usr.bin/ssh/reconfigure.sh
+++ b/
regress/usr.bin/ssh/reconfigure.sh
@@
-1,4
+1,4
@@
-# $OpenBSD: reconfigure.sh,v 1.
7 2021/06/10 03:45:3
1 dtucker Exp $
+# $OpenBSD: reconfigure.sh,v 1.
8 2021/06/10 09:43:5
1 dtucker Exp $
# Placed in the Public Domain.
tid="simple connect after reconfigure"
@@
-12,7
+12,7
@@
if [ $? -ne 0 ]; then
fail "ssh connect with failed before reconfigure"
fi
-PID=`cat $PIDFILE`
+PID=`
$SUDO
cat $PIDFILE`
rm -f $PIDFILE
$SUDO kill -HUP $PID