Created attachment 119643 Refactoring to use send_to_helper I have refactored the code to make use of send_to_helper instead of duplicating the code.
I've chosen to apply it on top of the previous change to keep 2 different actions (escaping PAM_TEXT_INFO and refactoring) on the same step. I have done sanity testing to make sure everything works as expected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1510824 Title: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas) To manage notifications about this bug go to: https://bugs.launchpad.net/policykit-1/+bug/1510824/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs