diff options
author | Tim Rice <tim@multitalents.net> | 2010-08-12 09:43:13 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2010-08-12 09:43:13 -0700 |
commit | 722b8d14f17f6471ef9b746f8b5942e1c7940d32 (patch) | |
tree | d4bb5f81688510e3478e2a0ba21db1c5d0ceccc6 /regress/reconfigure.sh | |
parent | 02c47341a2d0bd03411f6e00c74fb7ddd9b03986 (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.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/reconfigure.sh b/regress/reconfigure.sh index 1daf29f9a..9fd289531 100644 --- a/regress/reconfigure.sh +++ b/regress/reconfigure.sh | |||
@@ -15,7 +15,7 @@ esac | |||
15 | 15 | ||
16 | start_sshd | 16 | start_sshd |
17 | 17 | ||
18 | PID=`cat $PIDFILE` | 18 | PID=`$SUDO cat $PIDFILE` |
19 | rm -f $PIDFILE | 19 | rm -f $PIDFILE |
20 | $SUDO kill -HUP $PID | 20 | $SUDO kill -HUP $PID |
21 | 21 | ||