apt auth: add newline to the end

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-27 13:38:12 +01:00
parent b57b3c9bfc
commit f23497b088

View File

@ -305,7 +305,7 @@ pub fn update_apt_auth(key: Option<String>, password: Option<String>) -> Result<
match (key, password) {
(Some(key), Some(password)) => {
let conf = format!(
"machine enterprise.proxmox.com/debian/pbs\n login {}\n password {}",
"machine enterprise.proxmox.com/debian/pbs\n login {}\n password {}\n",
key,
password,
);