setup-disk: LVM no longer automatically enabled when SWAP_SIZE=0
Hello! This is my first contribution to Alpine Linux.
This pull request attempts to revise the changes introduced in commit 6b91fc7b. Specifically, to enable LVM whenever swap space would be present. However, the way it was originally written has caused two side effects, unfortunately degrading its purpose:
- If SWAP_SIZE was not set beforehand, it did not enable LVM.
- If SWAP_SIZE is 0 (i.e. no swap partition), it enabled LVM nonetheless.
The small change I made here sets out to fix both of these problems. If all is correct, it should now be working as intended.