This is an automated email from the ASF dual-hosted git repository.
jfthomps pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/vcl.git
The following commit(s) were added to refs/heads/develop by this push:
new cd35d17 VCL-1127 - Make changes to handle Cygwin's change of sshd
service name to cygsshd
cd35d17 is described below
commit cd35d17a26b0858ac58d2b3fdd62699dc0570378
Author: Josh Thompson <[email protected]>
AuthorDate: Tue May 12 13:01:32 2020 -0400
VCL-1127 - Make changes to handle Cygwin's change of sshd service name to
cygsshd
cygwin-sshd-config.sh: modified line that determines name for ssh service -
added spaces after '=' for arguments, without the spaces, Windows gives a weird
1060 error
---
managementnode/bin/cygwin-sshd-config.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/managementnode/bin/cygwin-sshd-config.sh
b/managementnode/bin/cygwin-sshd-config.sh
index 88a84b1..683f130 100755
--- a/managementnode/bin/cygwin-sshd-config.sh
+++ b/managementnode/bin/cygwin-sshd-config.sh
@@ -131,7 +131,7 @@ if [ $? -ne 0 ]; then die "failed to configure / mount
point"; fi;
mount
print_hr
-sshdservice=$(sc queryex type=service state=all | grep sshd | grep
SERVICE_NAME | awk '{print $2}' | sed 's/
//g')
+sshdservice=$(sc queryex type= service state= all | grep sshd | grep
SERVICE_NAME | awk '{print $2}' | sed 's/
//g')
if [[ $sshdservice == "" ]]; then
sshdservice=sshd