fix removing of remotes

we have to save the remote config after removing the section

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-05-29 10:45:00 +02:00 committed by Thomas Lamprecht
parent 013fa7bbcb
commit 9857472211
1 changed files with 2 additions and 0 deletions

View File

@ -269,6 +269,8 @@ pub fn delete_remote(name: String, digest: Option<String>) -> Result<(), Error>
None => bail!("remote '{}' does not exist.", name), None => bail!("remote '{}' does not exist.", name),
} }
remote::save_config(&config)?;
Ok(()) Ok(())
} }