Skip to content

Commit 5dfbed3

Browse files
committed
makes netcat command work with newer versions where -z does not execute at all
1 parent 31ddd09 commit 5dfbed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/CreateTunnel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class CreateTunnel
2424
public function __construct()
2525
{
2626

27-
$this->ncCommand = sprintf('%s -z %s %d > /dev/null 2>&1',
27+
$this->ncCommand = sprintf('%s -vz %s %d > /dev/null 2>&1',
2828
config('tunneler.nc_path'),
2929
config('tunneler.local_address'),
3030
config('tunneler.local_port')

0 commit comments

Comments
 (0)