fmt
This commit is contained in:
parent
c58f13b83f
commit
e5309a709a
@ -14,14 +14,15 @@ my $VERSION = 'v0.0.1';
|
|||||||
my @command_list;
|
my @command_list;
|
||||||
my @ssh_cmd;
|
my @ssh_cmd;
|
||||||
|
|
||||||
if (defined $ENV{SSH_ORIGINAL_COMMAND}) {
|
if ( defined $ENV{SSH_ORIGINAL_COMMAND} ) {
|
||||||
@ssh_cmd = split(" ", $ENV{SSH_ORIGINAL_COMMAND});
|
@ssh_cmd = split( " ", $ENV{SSH_ORIGINAL_COMMAND} );
|
||||||
shift @ssh_cmd;
|
shift @ssh_cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (@ARGV > @ssh_cmd) {
|
if ( @ARGV > @ssh_cmd ) {
|
||||||
@command_list = @ARGV;
|
@command_list = @ARGV;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
@command_list = @ssh_cmd;
|
@command_list = @ssh_cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user