Merge pull request #129 from mempool/knorrium/ignore_swapoff_error

Ignore swapoff error
This commit is contained in:
wiz 2025-12-29 09:38:04 -10:00 committed by GitHub
commit 2a2e8beb1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ jobs:
- name: Replace the current swap file
shell: bash
run: |
sudo swapoff /mnt/swapfile
sudo swapoff /mnt/swapfile || true
sudo rm -v /mnt/swapfile
sudo fallocate -l 20G /mnt/swapfile
sudo chmod 600 /mnt/swapfile