Quoting error in initrd scripts/local
Bug #115807 reported by
[cc]Smart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
There's a test lacking proper quoting and thus faulting if the parameter wasn't specified. It should read:
if [ "${readonly}" = "y" ]; then
Changed in initramfs-tools: | |
assignee: | brian-murray → nobody |
importance: | Undecided → Low |
status: | Incomplete → Triaged |
To post a comment you must log in.
But ${readonly} is always exported in init
On the other hand ${quit} which is also exported is always quoted.