enable verbose docker build with any value of DNS_TEST_VERBOSE_DOCKER_BUILD

This commit is contained in:
Jorge Aparicio 2024-02-20 16:36:52 +01:00
parent 86284cce4b
commit 59dc60c5c4

View File

@ -188,7 +188,7 @@ impl Container {
}
fn verbose_docker_build() -> bool {
env::var("DNS_TEST_VERBOSE_DOCKER_BUILD").as_deref() == Ok("1")
env::var("DNS_TEST_VERBOSE_DOCKER_BUILD").as_deref().is_ok()
}
fn exec_or_panic(command: &mut Command, verbose: bool) {