From e5309a709aeb31b98a6e76b063761a0e4b2efb93 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 26 Jun 2024 12:04:57 -0600 Subject: [PATCH] fmt --- bins/xin/xin.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bins/xin/xin.pl b/bins/xin/xin.pl index a18912d..09c01eb 100755 --- a/bins/xin/xin.pl +++ b/bins/xin/xin.pl @@ -14,14 +14,15 @@ my $VERSION = 'v0.0.1'; my @command_list; my @ssh_cmd; -if (defined $ENV{SSH_ORIGINAL_COMMAND}) { - @ssh_cmd = split(" ", $ENV{SSH_ORIGINAL_COMMAND}); +if ( defined $ENV{SSH_ORIGINAL_COMMAND} ) { + @ssh_cmd = split( " ", $ENV{SSH_ORIGINAL_COMMAND} ); shift @ssh_cmd; } -if (@ARGV > @ssh_cmd) { +if ( @ARGV > @ssh_cmd ) { @command_list = @ARGV; -} else { +} +else { @command_list = @ssh_cmd; }