Skip to content

Commit ebeb99b

Browse files
authored
Connor4312/issue211378 (#213829)
cli: fix inverted condition not showing warning correctly Fixes #211378
1 parent 23b0f28 commit ebeb99b

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
@@ -562,7 +562,7 @@ async fn serve_with_csa(
562562
match acquire_singleton(&paths.tunnel_lockfile()).await {
563563
Ok(SingletonConnection::Client(stream)) => {
564564
debug!(log, "starting as client to singleton");
565-
if gateway_args.name.is_none()
565+
if gateway_args.name.is_some()
566566
|| !gateway_args.install_extension.is_empty()
567567
|| gateway_args.tunnel.tunnel_id.is_some()
568568
{

0 commit comments

Comments
 (0)