diff options
Diffstat (limited to 'contrib/cygwin/ssh-host-config')
-rw-r--r-- | contrib/cygwin/ssh-host-config | 2 |
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 |
459 | if ps -ef | grep -v grep | grep -q ssh | 459 | if ps -ef | grep -q '/sshd\?$' |
460 | then | 460 | then |
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." |