Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set pipefail to produce a failure return code if any command errors. Set nounset to exit when your script tries to use undeclared variables. Set "-e" to exit immediately when a command fails. Change max devices to max 28: https://bugzilla.redhat.com/show_bug.cgi?id=1383283 MAX_SWAPFILES is defined as ((1 << MAX_SWAPFILES_SHIFT) - SWP_MIGRATION_NUM - SWP_HWPOISON_NUM) which limits the number of swap files below 32 (depending on kernel config), quite possibly to 28.
- Loading branch information