]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
fix: make sure final hostonly value is computed before reading it
authorJo Zzsi <jozzsicsataban@gmail.com>
Sat, 2 Aug 2025 16:53:50 +0000 (12:53 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Sat, 9 Aug 2025 19:18:09 +0000 (15:18 -0400)
commit8d9887bd773936cf3e42798dd26d70edd4213d4d
tree04e2224e3daea917648aeb78a93a46f908dcf143
parent4598998685b32a4b4c77222b8b2a22abf21ba1d2
fix: make sure final hostonly value is computed before reading it

hostonly variable is unset later in a later code block after
decisions are made based on the value of the hostonly variable
which is unexpected, hard to reason about and inconsistent.

Fix it by rearranging the order of execution of the code blocks.
dracut.sh