HomeFreeBSD

Do not add swap to fstab when swapsize is 0

Description

Do not add swap to fstab when swapsize is 0

If a user requested encrypted swap, but 0 sized, it would still be added to fstab

PR: 208630
Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com>
MFC after: 2 weeks
Sponsored by: ScaleEngine Inc.

Details

Provenance
allanjudeAuthored on
Parents
rS297711: Revert svn 297681 as it has been deprecated by svn 297575.
Branches
Unknown
Tags
Unknown