diff options
Diffstat (limited to 'bin/telekinesis-client')
-rwxr-xr-x | bin/telekinesis-client | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/telekinesis-client b/bin/telekinesis-client index d1a22d9..3172a1f 100755 --- a/bin/telekinesis-client +++ b/bin/telekinesis-client @@ -72,10 +72,11 @@ my $ACO = Arctica::Core::eventInit->new({ my $TeKiClient = Arctica::Telekinesis::Client->new($ACO); +my $server_sock_id; if ($#ARGV == -1) { - my $server_sock_id = $TeKiClient->get_tmp_servers_socket_id; + $server_sock_id = $TeKiClient->get_tmp_servers_socket_id; } else { - my $server_sock_id = $ARGV[0]; + $server_sock_id = $ARGV[0]; if ($server_sock_id =~ /([a-zA-Z0-9]*)/) { $server_sock_id = $1; } else { die; } |