I ran the broken command with several different OS /etc/fstab example files, then confirmed that this command did not successfully comment out the swap partition entries.
I ran the fixed command with several different OS /etc/fstab example files, then confirmed that swap partition entries were successfully commented out.
DOC-4028 and fixes #632
To test this fix:
/etc/fstab
example files, then confirmed that this command did not successfully comment out the swap partition entries./etc/fstab
example files, then confirmed that swap partition entries were successfully commented out.