Skip to content

Commit d544322

Browse files
committed
cli: fix inverted condition not showing warning correctly
Fixes #211378
1 parent f201382 commit d544322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/commands/tunnels.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ async fn serve_with_csa(
556556
match acquire_singleton(&paths.tunnel_lockfile()).await {
557557
Ok(SingletonConnection::Client(stream)) => {
558558
debug!(log, "starting as client to singleton");
559-
if gateway_args.name.is_none()
559+
if gateway_args.name.is_some()
560560
|| !gateway_args.install_extension.is_empty()
561561
|| gateway_args.tunnel.tunnel_id.is_some()
562562
{

0 commit comments

Comments
 (0)