Merge pull request #129 from mempool/knorrium/ignore_swapoff_error
Ignore swapoff error
This commit is contained in:
commit
2a2e8beb1d
2
.github/workflows/on-tag.yml
vendored
2
.github/workflows/on-tag.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user