Skip to content

Commit

Permalink
Connor4312/issue211378 (#213829)
Browse files Browse the repository at this point in the history
cli: fix inverted condition not showing warning correctly

Fixes #211378
  • Loading branch information
connor4312 authored May 29, 2024
1 parent 23b0f28 commit ebeb99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/commands/tunnels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ async fn serve_with_csa(
match acquire_singleton(&paths.tunnel_lockfile()).await {
Ok(SingletonConnection::Client(stream)) => {
debug!(log, "starting as client to singleton");
if gateway_args.name.is_none()
if gateway_args.name.is_some()
|| !gateway_args.install_extension.is_empty()
|| gateway_args.tunnel.tunnel_id.is_some()
{
Expand Down

0 comments on commit ebeb99b

Please sign in to comment.