fix(cli): exempt hip subcommand from singleton lock check (#658)

This commit is contained in:
koval-jan authored and GitHub committed 2026-09-18 08:29:34 +08:00
1 parent 9e4f45997e
commit 0425ee6ddb
1 file changed
+4 -1
+4 -1
View File
@@ -135,7 +135,10 @@ impl Cli {
async fn run(&self) -> anyhow::Result<()> {
// check if an instance is running
if !matches!(self.command, CliCommand::Disconnect(_)) && self.is_running().await {
if !matches!(
self.command,
CliCommand::Disconnect(_) | CliCommand::Hip(_)
) && self.is_running().await {
bail!("Another instance of the client is already running");
}