Closed thesamesam closed 1 year ago
This pull request changes dracut.sh and dracut-functions.sh to use gawk instead of awk because we're using strtonum.
gawk
awk
strtonum
strtonum is a gawkism and is not available in all awks, e.g. mawk. Use gawk to avoid failure.
Fixes: f32e95bcadbc5158843530407adc1e7b700561b1
Fixes #
cc @keentux
Thanks @thesamesam .
Make sense to me to land this as is, but I hope to improve it even further and support mawk by carrying our own strtonum implementation.
This pull request changes dracut.sh and dracut-functions.sh to use
gawk
instead ofawk
because we're usingstrtonum
.strtonum is a gawkism and is not available in all awks, e.g. mawk. Use gawk to avoid failure.
Fixes: f32e95bcadbc5158843530407adc1e7b700561b1
Changes
Checklist
Fixes #