summaryrefslogtreecommitdiff
path: root/regress/reconfigure.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2010-08-12 09:43:13 -0700
committerTim Rice <tim@multitalents.net>2010-08-12 09:43:13 -0700
commit722b8d14f17f6471ef9b746f8b5942e1c7940d32 (patch)
treed4bb5f81688510e3478e2a0ba21db1c5d0ceccc6 /regress/reconfigure.sh
parent02c47341a2d0bd03411f6e00c74fb7ddd9b03986 (diff)
- (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.sh
regress/test-exec.sh] Under certain conditions when testing with sudo tests would fail because the pidfile could not be read by a regular user. "cat: cannot open ...../regress/pidfile: Permission denied (error 13)" Make sure cat is run by $SUDO. no objection from me. djm@
Diffstat (limited to 'regress/reconfigure.sh')
-rw-r--r--regress/reconfigure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/reconfigure.sh b/regress/reconfigure.sh
index 1daf29f9..9fd28953 100644
--- a/regress/reconfigure.sh
+++ b/regress/reconfigure.sh
@@ -15,7 +15,7 @@ esac
start_sshd
-PID=`cat $PIDFILE`
+PID=`$SUDO cat $PIDFILE`
rm -f $PIDFILE
$SUDO kill -HUP $PID