fix: docker force stop flag

This commit is contained in:
Aravinth Manivannan 2023-10-04 00:38:11 +05:30
parent 7d93129bbf
commit 968c5d2b69
Signed by: realaravinth
GPG Key ID: F8F50389936984FF
1 changed files with 2 additions and 2 deletions

View File

@ -98,9 +98,9 @@ impl DockerLike for Docker {
fn rm_container(&self, name: &str, force: bool) {
let args = if force {
vec!["rm", name]
} else {
vec!["rm", "--force", name]
} else {
vec!["rm", name]
};
Command::new("docker")
.args(args)