It also looks like, farther down, systemctl_redirect() leaks $service. Not sure if it's intentional or not, given that it works to protect its other variables, so maybe it could use some attention too.
https://gist.github.com/TheWug/e120145f08e994d89e235e077a82ea75#file-40-systemd-L70 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940008 Title: systemd lsb-base integration script leaking shell variable changes which can break consumers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1940008/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs