summaryrefslogtreecommitdiff
path: root/contrib/cygwin/ssh-host-config
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-12-01 21:34:28 +1100
committerDarren Tucker <dtucker@zip.com.au>2008-12-01 21:34:28 +1100
commit83795d61d277df3f090f12336ea3e21b6946ef4f (patch)
tree54e219332daeb747e3532dbdd8c14cc9fdb3042c /contrib/cygwin/ssh-host-config
parentd3782b4e76481aaa12a32b7f239b815916615650 (diff)
- (dtucker) [contrib/cygwin/{Makefile,ssh-host-config}] Add new doc files
and tweak the is-sshd-running check in ssh-host-config. Patch from vinschen at redhat com.
Diffstat (limited to 'contrib/cygwin/ssh-host-config')
-rw-r--r--contrib/cygwin/ssh-host-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config
index bbb6da4c4..2d367d314 100644
--- a/contrib/cygwin/ssh-host-config
+++ b/contrib/cygwin/ssh-host-config
@@ -456,7 +456,7 @@ done
456 456
457# Check for running ssh/sshd processes first. Refuse to do anything while 457# Check for running ssh/sshd processes first. Refuse to do anything while
458# some ssh processes are still running 458# some ssh processes are still running
459if ps -ef | grep -v grep | grep -q ssh 459if ps -ef | grep -q '/sshd\?$'
460then 460then
461 echo 461 echo
462 csih_error "There are still ssh processes running. Please shut them down first." 462 csih_error "There are still ssh processes running. Please shut them down first."