I'm not a big fan of the bash variable scoping in there, but sticking to the style used this might be a fix to the issue that was reported.
It would be great if you could try this diff on your file and see if it resolves your issues as well.
If it does please feel free to forward it as RFC on your upstream report.
I'm not a big fan of the bash variable scoping in there, but sticking to the style used this might be a fix to the issue that was reported.
It would be great if you could try this diff on your file and see if it resolves your issues as well.
If it does please feel free to forward it as RFC on your upstream report.