From bab954b87f2634df7cc2a3a5e04bf2c0d781800d Mon Sep 17 00:00:00 2001 From: Stas Kelvich Date: Thu, 22 Apr 2021 11:45:06 +0300 Subject: [PATCH] Fix error message wording introduced in previous commit --- control_plane/src/local_env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control_plane/src/local_env.rs b/control_plane/src/local_env.rs index d1809d13f1..934c45a831 100644 --- a/control_plane/src/local_env.rs +++ b/control_plane/src/local_env.rs @@ -150,7 +150,7 @@ pub fn init_repo(local_env: &mut LocalEnv) -> Result<()> { .status() .with_context(|| "failed to execute initdb")?; if !initdb.success() { - anyhow::bail!("pg_ctl failed"); + anyhow::bail!("initdb failed"); } println!("initdb succeeded");