summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands/db.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/db.rs b/src/commands/db.rs
index 561e6d8..551805d 100644
--- a/src/commands/db.rs
+++ b/src/commands/db.rs
@@ -42,8 +42,8 @@ pub fn db(db_connection_config: DbConnectionConfig, config: &Configuration, matc
Some(("submits", matches)) => submits(db_connection_config, matches),
Some(("jobs", matches)) => jobs(db_connection_config, matches),
Some(("job", matches)) => job(db_connection_config, config, matches),
- Some((other, _)) => return Err(anyhow!("Unknown subcommand: {}", other)),
- None => return Err(anyhow!("No subcommand")),
+ Some((other, _)) => Err(anyhow!("Unknown subcommand: {}", other)),
+ None => Err(anyhow!("No subcommand")),
}
}