summaryrefslogtreecommitdiff
path: root/regress/reconfigure.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-04 13:59:48 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-04 13:59:48 +1000
commit871f7408abd34f42adc6a3f023c1a29227eb9759 (patch)
tree71cf888a8989bdc9ce9649950d3e852b2253ac5f /regress/reconfigure.sh
parent5569759bce2f3660ef314d58a08652e05222d580 (diff)
- [regress/reconfigure/sh] Make path to sshd fully qualified if required.
Diffstat (limited to 'regress/reconfigure.sh')
-rw-r--r--regress/reconfigure.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/reconfigure.sh b/regress/reconfigure.sh
index 4315f0a4..ba6dbc6f 100644
--- a/regress/reconfigure.sh
+++ b/regress/reconfigure.sh
@@ -4,7 +4,14 @@
tid="simple connect after reconfigure"
# we need the full path to sshd for -HUP
-SSHD=/usr/sbin/sshd
+case $SSHD in
+/*)
+ # full path is OK
+ ;;
+*)
+ # otherwise make fully qualified
+ SSHD=$OBJ/$SSHD
+esac
start_sshd