You shouldn't put the the script's arguments in a variable without keeping them as a list because the arguments were merged and then splitted with whitespace. This results in a total mashup of tabs.
See Issue #17852
linux argument startup fix
Hi @mrdrogdrog, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.
@joaomoreno please cc me for Linux CLI stuff, this re-introduced this issue: c2935f2
Fixed by looping over the arg array for sudo instead of shifting it 289dbf7
Ugh! Sorry about that. 🍺
No worries, luckily the issue wasn't closed off so I spotted the regression.