]> git.ipfire.org Git - thirdparty/dracut.git/commit - dracut-functions.sh
fix(dracut-functions): get_maj_min without get_maj_min_cache_file set
authorHarald Hoyer <harald@redhat.com>
Fri, 21 May 2021 10:19:32 +0000 (12:19 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 21 May 2021 12:17:07 +0000 (14:17 +0200)
commita277a5fc7acc0a9e8d853f09671495f9d27645c1
treee72f8e77cadfd6497c4d65a6000c430323550c75
parent0a6007bf4f472565d2c0c205a56edea7ba3e3bc3
fix(dracut-functions): get_maj_min without get_maj_min_cache_file set

If `get_maj_min_cache_file` is unset `get_maj_min()` would error out.

Fix it to work without a cache file set.
dracut-functions.sh