]> andersk Git - gssapi-openssh.git/blobdiff - openssh/regress/test-exec.sh
Import of OpenSSH 4.2p1
[gssapi-openssh.git] / openssh / regress / test-exec.sh
index bd0c025ba2b11ef716b565484728e2f9445cb304..4b3a70eb3c3a21bc6cadeef436de32c1b3d9e70e 100644 (file)
@@ -96,9 +96,10 @@ if [ "x$TEST_SSH_SCP" != "x" ]; then
 fi
 
 # Path to sshd must be absolute for rexec
-if [ ! -x /$SSHD ]; then
-       SSHD=`which sshd`
-fi
+case "$SSHD" in
+/*) ;;
+*) SSHD=`which sshd` ;;
+esac
 
 if [ "x$TEST_SSH_LOGFILE" = "x" ]; then
        TEST_SSH_LOGFILE=/dev/null
This page took 0.117746 seconds and 4 git commands to generate.