fosslinux / live-bootstrap

Use of a Linux initramfs to fully automate the bootstrapping process
501 stars 35 forks source link

Fix typo in script-generator causing wrong traps in new Bash #420

Closed Googulator closed 8 months ago

Googulator commented 8 months ago

When renaming using_bash to bash_build, I accidentally removed the + sign from the assignment, causing bash_build > 1 to never match, resulting in old-style Ctrl+D traps even in the new Bash.

This patch restores the intended += behavior.

Googulator commented 8 months ago

Confirmed on bare metal that this is indeed working as intended - 5.sh now has the correct trap line.