]> git.proxmox.com Git - proxmox-backup.git/commitdiff
apt auth: add newline to the end
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Oct 2020 12:38:12 +0000 (13:38 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Oct 2020 16:41:30 +0000 (17:41 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/tools/subscription.rs

index 20fc063d2d8ae7f779480485cc5e6e44f5bea432..e5a0eb2ebf63732c51129e309c7d6e9038b6edd8 100644 (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,
             );