fix: correct local test running
This commit is contained in:
2
tests.mk
2
tests.mk
@@ -71,7 +71,7 @@ endif
|
|||||||
ifneq ($(wildcard /etc/ssh/sshd_config),)
|
ifneq ($(wildcard /etc/ssh/sshd_config),)
|
||||||
ifeq ($(shell grep 22333 /etc/ssh/sshd_config),)
|
ifeq ($(shell grep 22333 /etc/ssh/sshd_config),)
|
||||||
sed --in-place "s:^Port 22:Port 22 \\nPort 22333:g" /etc/ssh/sshd_config
|
sed --in-place "s:^Port 22:Port 22 \\nPort 22333:g" /etc/ssh/sshd_config
|
||||||
restart ssh
|
service ssh restart
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user