mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-13 19:45:40 +00:00
some system user '\n\r' as line break, if we split commands by '\n', then '\r' will be considered as part of commands which will break sudo authentication. we can use splitlines function to avoid the problem.