Skip to content

Commit 971cef2

Browse files
change sshd service restart to ||
1 parent 1df8ac0 commit 971cef2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/sftp-benchmark.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ jobs:
9797
touch ~/.ssh/authorized_keys
9898
cat ./keys/hansel-*.pub > authorized_keys
9999
chmod 600 ./keys/hansel-key-*.pem
100-
sudo systemctl restart sshd
101-
sudo service sshd restart
100+
sudo systemctl restart sshd || sudo service sshd restart
102101
103102
- name: Run SFTP client benchmark
104103
working-directory: ./wolfssh/

0 commit comments

Comments
 (0)