Skip to content
Snippets Groups Projects
Commit 98827f53 authored by Jeremy Whiting's avatar Jeremy Whiting
Browse files

Use getpass.getuser() instead of os.getlogin() since we are a service.

os.getlogin() doesn't work when launched by systemd since there's
no login terminal to get the password from.
https://linux.dio.net/man/3/getlogin
parent f9823c26
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment