diff --git a/.github/workflows/src/disk-setup-and-swap.sh b/.github/workflows/src/disk-setup-and-swap.sh index 623842d7b..e7ee08e54 100644 --- a/.github/workflows/src/disk-setup-and-swap.sh +++ b/.github/workflows/src/disk-setup-and-swap.sh @@ -1,7 +1,11 @@ echo Before: -free -h -df -h +if [ command -v free ]; then + free -h +fi +if [ command -v df ]; then + df -h +fi echo echo @@ -38,5 +42,9 @@ echo echo echo After: -free -h -df -h +if [ command -v free ]; then + free -h +fi +if [ command -v df ]; then + df -h +fi