Skip to content

initscript: Fix broken exclude interpolation

Charlie Turner requested to merge cturner/exclusion-filter-fix into master

The shell performs some quoting craziness to keep the "'" intact, which breaks the glob pattern. I'd assume this problem exists for the encrypt-key as well, but only time will tell.

No tests, they don't currently test what happens in production, so their utility is questionable. If it is desired to test this quoting behaviour, I'll leave it to others to write such a test. The correct approach will be to move to more sensible programming language, imo.

Merge request reports