Ignore swapoff error

This commit is contained in:
Felipe Knorr Kuhn 2025-12-29 11:31:23 -08:00 committed by wiz
parent e73e74d783
commit 3da1ddb7ce
No known key found for this signature in database
GPG Key ID: A394E332255A6173

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